From 6453d8d00073ae06162bc26550892e884dd2f463 Mon Sep 17 00:00:00 2001 From: Piotr Galar Date: Sat, 28 Sep 2024 11:42:23 +0100 Subject: [PATCH] ci: fix the github release url for uploading assets (#1579) --- .github/workflows/release-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-check.yml b/.github/workflows/release-check.yml index 11d17f144..d0678f4fc 100644 --- a/.github/workflows/release-check.yml +++ b/.github/workflows/release-check.yml @@ -48,7 +48,7 @@ jobs: - name: Upload release assets to GitHub Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITHUB_RELEASE_URL: ${{ fromJSON(needs.release-check.outputs.json)['Cargo.toml'].url }} + GITHUB_RELEASE_URL: ${{ github.api_url }}/repos/${{ github.repository }}/releases/${{ fromJSON(needs.release-check.outputs.json)['Cargo.toml'].id }} BUILD_FIL_NETWORK: ${{ matrix.network }} run: | ./scripts/upload-release-assets.sh