Skip to content

Commit

Permalink
Make build not fail when release does not exist, and use nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
djellemah committed Apr 27, 2024
1 parent 1c79df1 commit 6449a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# TODO use gh release list | grep -q ${{ github.ref_name }}
# to check that it's safe to run release delete
run: |
gh release delete ${{ github.ref_name }} --yes; true # so it doesn't fail when the release doesn't exist
gh release delete ${{ github.ref_name }} --yes || true # so it doesn't fail when the release doesn't exist
gh release create --latest ${{ github.ref_name }}
env:
GH_TOKEN: ${{ secrets.ACTION_TOKEN }}
Expand Down

0 comments on commit 6449a19

Please sign in to comment.