Skip to content

Commit cce0287

Browse files
committed
Check that the release exists
1 parent e044b15 commit cce0287

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/update-proxy-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ jobs:
2929
exit 1
3030
fi
3131
32+
- name: Check that the release exists
33+
shell: bash
34+
env:
35+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
36+
run: |
37+
(gh release view --repo ${{ github.event.repository.full_name }} --json "assets" "$RELEASE_TAG" && echo "Release found.") || exit 1
38+
3239
- name: Install Node
3340
uses: actions/setup-node@v4
3441

0 commit comments

Comments
 (0)