Skip to content

Commit

Permalink
ci: fix the github release url for uploading assets (#1579)
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh authored Sep 28, 2024
1 parent 64391b8 commit 6453d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6453d8d

Please sign in to comment.