ci(release): do not fail if stable/nightly release doesn't exist

[skip ci]

(cherry picked from commit c819ce1fd4)
This commit is contained in:
James McCoy 2021-10-18 00:04:58 -04:00 committed by github-actions[bot]
parent 2e77847896
commit f65c52d235

View File

@ -175,14 +175,14 @@ jobs:
run: |
(echo 'SUBJECT=Nvim development (prerelease) build';
echo 'PRERELEASE=--prerelease') >> $GITHUB_ENV
gh release delete nightly --yes
gh release delete nightly --yes || true
- if: env.TAG_NAME != 'nightly'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
(echo 'SUBJECT=Nvim release build';
echo 'PRERELEASE=') >> $GITHUB_ENV
gh release delete stable --yes
gh release delete stable --yes || true
# `sha256sum` outputs <sha> <path>, so we cd into each dir to drop the
# containing folder from the output.
- name: Generate Linux64 SHA256 checksums