mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 17:39:50 +00:00
Check that the release exists
This commit is contained in:
7
.github/workflows/update-proxy-release.yml
vendored
7
.github/workflows/update-proxy-release.yml
vendored
@@ -29,6 +29,13 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Check that the release exists
|
||||
shell: bash
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
run: |
|
||||
(gh release view --repo ${{ github.event.repository.full_name }} --json "assets" "$RELEASE_TAG" && echo "Release found.") || exit 1
|
||||
|
||||
- name: Install Node
|
||||
uses: actions/setup-node@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user