From 6449a19f7eb5fcba70e023d93eba1d09259198be Mon Sep 17 00:00:00 2001 From: John Anderson Date: Wed, 24 Apr 2024 16:55:45 -0400 Subject: [PATCH] Make build not fail when release does not exist, and use nightly --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fd3726a..76c407d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 }}