From cce0287569a34dbba8933e3b66b47a357b218d6c Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 23 Jun 2025 14:55:54 +0100 Subject: [PATCH] Check that the release exists --- .github/workflows/update-proxy-release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/update-proxy-release.yml b/.github/workflows/update-proxy-release.yml index 09320570b..9d9d9f4cb 100644 --- a/.github/workflows/update-proxy-release.yml +++ b/.github/workflows/update-proxy-release.yml @@ -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