Skip to content

Commit

Permalink
try if else
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj committed Apr 12, 2024
1 parent d6fb242 commit ce9bdbd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/generate-srtool-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ jobs:
steps:

- uses: actions/checkout@v3

- name: Srtool build
if: matrix.chain == 'mainnet'
id: srtool_build

uses: chevdor/[email protected]
if: matrix.chain == 'mainnet'
with:
chain: ${{ matrix.chain }}
runtime_dir: runtime/${{ matrix.chain }}
package: tangle-runtime

uses: chevdor/[email protected]
- name: Srtool build testnet
if: matrix.chain == 'testnet'
uses: chevdor/[email protected]
with:
chain: ${{ matrix.chain }}
runtime_dir: runtime/${{ matrix.chain }}
Expand Down

0 comments on commit ce9bdbd

Please sign in to comment.