Skip to content

Commit

Permalink
Merge pull request #1900 from Steveice10/release-workflow-patch
Browse files Browse the repository at this point in the history
Make the GitHub Actions release workflow more lenient.
  • Loading branch information
billhollings authored May 12, 2023
2 parents c893a03 + 9c72022 commit d3b64c8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d3b64c8

Please sign in to comment.