diff --git a/.github/workflows/tracing-runtime.yml b/.github/workflows/tracing-runtime.yml index 86c34534c7..5aadeaa76b 100644 --- a/.github/workflows/tracing-runtime.yml +++ b/.github/workflows/tracing-runtime.yml @@ -16,12 +16,15 @@ on: required: true type: string +env: + SUBWASM_VERSION: 0.20.0 + jobs: build-runtime: name: "Build evm tracing runtime ${{ matrix.network }}" permissions: contents: write - runs-on: [self-hosted, linux] + runs-on: ubuntu-latest strategy: matrix: network: [karura, acala] @@ -44,7 +47,7 @@ jobs: - name: Find spec version run: | SPEC_VERSION=`subwasm version -j target/production/wbuild/${{ matrix.network }}-runtime/${{ matrix.network }}_runtime.compact.compressed.wasm | jq .specVersion` - cp target/production/wbuild/${{ matrix.network }}-runtime/${{ matrix.network }}_runtime.compact.compressed.wasm > ${{ matrix.network }}_runtime_tracing_$SPEC_VERSION.compact.compressed.wasm + cp target/production/wbuild/${{ matrix.network }}-runtime/${{ matrix.network }}_runtime.compact.compressed.wasm ${{ matrix.network }}_runtime_tracing_$SPEC_VERSION.compact.compressed.wasm echo "SPEC_VERSION=$SPEC_VERSION" >> $GITHUB_ENV - name: Upload tracing runtime uses: softprops/action-gh-release@v2 diff --git a/Makefile b/Makefile index 634e8c49bf..906942f5bc 100644 --- a/Makefile +++ b/Makefile @@ -239,11 +239,11 @@ srtool-build-wasm-acala: .PHONY: build-wasm-karura-tracing build-wasm-karura-tracing: - ./scripts/build-only-wasm.sh --profile production -p karura-runtime --features=on-chain-release-build,tracing + ./scripts/build-only-wasm.sh --profile production -p karura-runtime --features=tracing .PHONY: build-wasm-acala-tracing build-wasm-acala-tracing: - ./scripts/build-only-wasm.sh --profile production -p acala-runtime --features=on-chain-release-build,tracing + ./scripts/build-only-wasm.sh --profile production -p acala-runtime --features=tracing .PHONY: generate-tokens generate-tokens: