use correct testing runtime binary; upload testing wasm
@@ -96,6 +96,8 @@ jobs:
run: ./target/release/hydradx --version
- name: Get hydradx chainspec json
run: |
+ cp target/release/hydradx target/release/testing-hydradx
+ chmod +x ./target/release/testing-hydradx
./target/release/testing-hydradx build-spec --chain devnet --raw > hydradx-testnet-chainspec.json
- name: Upload config file
uses: actions/upload-artifact@v2
@@ -103,10 +105,10 @@ jobs:
name: hydradx-testnet-chainspec.json
path: ./hydradx-testnet-chainspec.json
- name: Generate wasm binary for testnet
- run: ./target/release/hydradx export-genesis-wasm --chain hydradx-testnet-chainspec.json > para-wasm
+ run: ./target/release/testing-hydradx export-genesis-wasm --chain hydradx-testnet-chainspec.json > para-wasm
- name: Generate genesis binary for testnet
- run: ./target/release/hydradx export-genesis-state --chain hydradx-testnet-chainspec.json > para-genesis
+ run: ./target/release/testing-hydradx export-genesis-state --chain hydradx-testnet-chainspec.json > para-genesis
- name: Upload wasm binary
uses: actions/upload-artifact@v2
@@ -129,6 +131,11 @@ jobs:
with:
name: hydradx_runtime.compact.compressed.wasm
path: target/release/wbuild/hydradx-runtime/hydradx_runtime.compact.compressed.wasm
+ - name: Upload testing-runtime wasm
+ uses: actions/upload-artifact@v2
+ with:
+ name: testing_hydradx_runtime.compact.compressed.wasm
+ path: target/release/wbuild/testing-hydradx-runtime/testing_hydradx_runtime.compact.compressed.wasm
docker:
needs: [pop-runner-instance, build]
