Make the GitHub Actions release workflow more lenient.

This commit is contained in:
Steveice10 2023-05-12 10:11:11 -07:00 committed by GitHub
parent c893a0380a
commit 9c72022ac3
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