From e98307ff07c3f56cd1d8d623220db56193b45c9c Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Fri, 2 Feb 2024 11:16:42 +0000 Subject: [PATCH] Wait for wasms to be built before downloading them --- .github/workflows/pre_release_tests.yaml | 10 ++++++---- changelog.md | 0 2 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 changelog.md diff --git a/.github/workflows/pre_release_tests.yaml b/.github/workflows/pre_release_tests.yaml index 8ba198d57d..e5ffff5543 100644 --- a/.github/workflows/pre_release_tests.yaml +++ b/.github/workflows/pre_release_tests.yaml @@ -12,12 +12,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Wait for wasms to be built + uses: lewagon/wait-on-check-action@v1.3.1 + with: + ref: master + check-name: "Push canister wasms" + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Download canister wasms run: ./scripts/download-all-canister-wasms.sh $GITHUB_REF_NAME - continue-on-error: true - - name: Build canister wasms - if: ${{ failure() }} - uses: ./.github/workflows/push_canister_wasms.yaml - uses: actions-rs/toolchain@v1 with: profile: minimal diff --git a/changelog.md b/changelog.md deleted file mode 100644 index e69de29bb2..0000000000