From 121f9cb9036b5587483ca3148c78ce38f5e69f9c Mon Sep 17 00:00:00 2001 From: Severin Siffert Date: Thu, 18 Jul 2024 13:27:38 +0200 Subject: [PATCH] chore: use docker build for release (#139) --- .github/workflows/release.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7aa741..2bd6f1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,20 +83,23 @@ jobs: - name: Build WASM run: | dfx build --check - echo "Cycles ledger:" + echo "Cycles ledger (dfx build):" ls .dfx/local/canisters/cycles-ledger - echo "Depositor:" + echo "Depositor (dfx build):" ls .dfx/local/canisters/depositor - echo "Fake CMC:" + echo "Fake CMC (dfx build):" ls .dfx/local/canisters/fake-cmc - (cd .dfx/local/canisters/cycles-ledger && shasum -a 256 cycles-ledger.wasm.gz > cycles-ledger.wasm.gz.sha256) + ./scripts/docker-build + echo "Cycles ledger (docker build):" + ls cycles-ledger.wasm.gz + (shasum -a 256 cycles-ledger.wasm.gz > cycles-ledger.wasm.gz.sha256) (cd .dfx/local/canisters/depositor && shasum -a 256 depositor.wasm.gz > depositor.wasm.gz.sha256) (cd .dfx/local/canisters/fake-cmc && shasum -a 256 fake-cmc.wasm.gz > fake-cmc.wasm.gz.sha256) gh release upload ${{ env.TAG }} .dfx/local/canisters/depositor/depositor.wasm.gz gh release upload ${{ env.TAG }} .dfx/local/canisters/depositor/depositor.wasm.gz.sha256 gh release upload ${{ env.TAG }} depositor/depositor.did - gh release upload ${{ env.TAG }} .dfx/local/canisters/cycles-ledger/cycles-ledger.wasm.gz - gh release upload ${{ env.TAG }} .dfx/local/canisters/cycles-ledger/cycles-ledger.wasm.gz.sha256 + gh release upload ${{ env.TAG }} cycles-ledger.wasm.gz + gh release upload ${{ env.TAG }} cycles-ledger.wasm.gz.sha256 gh release upload ${{ env.TAG }} cycles-ledger/cycles-ledger.did gh release upload ${{ env.TAG }} .dfx/local/canisters/fake-cmc/fake-cmc.wasm.gz gh release upload ${{ env.TAG }} .dfx/local/canisters/fake-cmc/fake-cmc.wasm.gz.sha256