Skip to content

Commit

Permalink
update srtool action
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj committed Apr 17, 2024
1 parent 7a26912 commit 52e4aa4
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/publish-srtool-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,21 @@ jobs:
echo "Runtime location: ${{ steps.srtool_build.outputs.wasm }}"
- name: Upload ${{ matrix.chain }} wasm to release
if: matrix.chain == 'mainnet'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: runtime/mainnet/target/srtool/release/wbuild/tangle-runtime/tangle_runtime.compact.compressed.wasm
asset_name: tangle-${{ matrix.chain }}-srtool-compact.compressed.wasm
tag: ${{ github.ref }}
overwrite: true

- name: Upload ${{ matrix.chain }} wasm to release
if: matrix.chain == 'testnet'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.srtool_build.outputs.compact.compressed.wasm }}
asset_name: tangle-${{ matrix.features }}-srtool-compact.compressed.wasm
file: runtime/mainnet/target/srtool/release/wbuild/tangle-testnet-runtime/tangle_runtime.compact.compressed.wasm
asset_name: tangle-${{ matrix.chain }}-srtool-compact.compressed.wasm
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 52e4aa4

Please sign in to comment.