Check that the release exists

This commit is contained in:
Michael B. Gale 2025-06-23 14:55:54 +01:00
parent e044b152ab
commit cce0287569
No known key found for this signature in database
GPG key ID: FF5E2765BD00628F

View file

@ -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