fix: github release job upload url handling
@@ -136,7 +136,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- upload_url: ${{ github.event.release.upload_url }}
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target/release/circuit-collator.gz.sha256sum
asset_name: t3rn-circuit-collator-${{ env.PUSHED_TAG }}-x86_64-unknown-linux-gnu.gz.sha256sum
asset_content_type: text/plain
@@ -146,7 +146,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- upload_url: ${{ github.event.release.upload_url }}
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target/release/circuit-collator.gz
asset_name: t3rn-circuit-collator-${{ env.PUSHED_TAG }}-x86_64-unknown-linux-gnu.gz
asset_content_type: application/gzip
