Merge pull request #1900 from Steveice10/release-workflow-patch

Make the GitHub Actions release workflow more lenient.
This commit is contained in:
Bill Hollings 2023-05-12 14:13:19 -04:00 committed by GitHub
commit d3b64c8c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,5 +125,15 @@ jobs:
- name: Create Release
uses: ncipollo/release-action@v1
with:
# Allow updating existing releases if the workflow is triggered by release creation or re-run.
allowUpdates: true
# When the release is updated, delete the existing artifacts for replacement.
removeArtifacts: true
# If a release is being replaced, omit updating the name and body.
# Allows for creating a release and filling these in before the workflow runs.
# Then, the workflow will populate the release with the artifacts.
omitNameDuringUpdate: true
omitBodyDuringUpdate: true
# Upload all MoltenVK CI artifacts as release assets.
artifacts: "MoltenVK*/*"
artifactErrorsFailBuild: true