From 168e3320b18916a806b89e4a2793a9b9e87b93f9 Mon Sep 17 00:00:00 2001 From: Dengjianping Date: Mon, 17 Jul 2023 00:20:07 +0800 Subject: [PATCH 1/3] Bump srtool and use rust 1.69 for building binary Signed-off-by: Dengjianping --- .github/workflows/publish_draft_releases.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_draft_releases.yml b/.github/workflows/publish_draft_releases.yml index d4f53b88b..78b0958c4 100644 --- a/.github/workflows/publish_draft_releases.yml +++ b/.github/workflows/publish_draft_releases.yml @@ -54,7 +54,7 @@ jobs: srtool-target-${{ matrix.runtime.name }} - name: build runtime id: srtool-build - uses: chevdor/srtool-actions@v0.4.0 + uses: chevdor/srtool-actions@v0.7.0 with: image: paritytech/srtool tag: 1.66.1 @@ -128,6 +128,8 @@ jobs: rustup default stable rustup update rustup target add wasm32-unknown-unknown + rustup install 1.69.0 + rustup target add wasm32-unknown-unknown --toolchain 1.69.0 - name: build env: RUST_BACKTRACE: full @@ -136,7 +138,7 @@ jobs: SCCACHE_DIR: /home/runner/.cache/sccache run: | source ${HOME}/.cargo/env - RUSTC_BOOTSTRAP=1 cargo build --profile production --verbose + RUSTC_BOOTSTRAP=1 cargo +1.69.0 build --profile production --verbose - name: stop sccache server run: sccache --stop-server || true - if: always() From 9ff5b7d39b35631cda92d8b1af72cc64be133115 Mon Sep 17 00:00:00 2001 From: Dengjianping Date: Mon, 17 Jul 2023 15:57:07 +0800 Subject: [PATCH 2/3] Bump srtool for runtime upgrade workflow Signed-off-by: Dengjianping --- .github/workflows/runtime_upgrade_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/runtime_upgrade_test.yml b/.github/workflows/runtime_upgrade_test.yml index fb32a6572..020a1f742 100644 --- a/.github/workflows/runtime_upgrade_test.yml +++ b/.github/workflows/runtime_upgrade_test.yml @@ -45,10 +45,10 @@ jobs: srtool-target-${{ env.RUNTIME }} - name: build runtime id: srtool-build - uses: chevdor/srtool-actions@v0.4.0 + uses: chevdor/srtool-actions@v0.7.0 with: image: paritytech/srtool - tag: 1.66.1 + tag: 1.70.0 chain: ${{ env.RUNTIME }} - name: persist srtool digest run: > From e2bc8c54391e4db9dc3e362c1deae6e490e01092 Mon Sep 17 00:00:00 2001 From: Dengjianping Date: Mon, 17 Jul 2023 16:23:23 +0800 Subject: [PATCH 3/3] Bump srtool image Signed-off-by: Dengjianping --- .github/workflows/publish_draft_releases.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_draft_releases.yml b/.github/workflows/publish_draft_releases.yml index 78b0958c4..814c80170 100644 --- a/.github/workflows/publish_draft_releases.yml +++ b/.github/workflows/publish_draft_releases.yml @@ -57,7 +57,7 @@ jobs: uses: chevdor/srtool-actions@v0.7.0 with: image: paritytech/srtool - tag: 1.66.1 + tag: 1.70.0 chain: ${{ matrix.runtime.name }} - name: persist srtool digest run: >