From a0514adb415d79adbe9e1b5a46ca61bed8e18c54 Mon Sep 17 00:00:00 2001 From: Maksim Dimitrov Date: Fri, 28 Jul 2023 16:22:21 +0300 Subject: [PATCH] fix(ci): Try to fix zombienet binary execution Signed-off-by: Maksim Dimitrov --- .github/workflows/main.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ff56643..2c86465 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -41,11 +41,20 @@ jobs: version: "tags/${{ steps.cumulus-binary-release-tag.outputs.tag }}" token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + - name: Fetch Github Release Asset from zombienet + uses: dsaltares/fetch-gh-release-asset@master + with: + repo: "paritytech/zombienet" + file: "zombienet-linux-x64" + target: "zombienet" + token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + - name: Add binaries to PATH run: | echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH chmod +x polkadot chmod +x polkadot-parachain + chmod +x zombienet - uses: oprypin/find-latest-tag@v1 with: @@ -56,7 +65,6 @@ jobs: - run: echo "Cumulus WASM is at version ${{ steps.cumulus-wasm-release-tag.outputs.tag }}" - - name: Fetch Github Release Asset from cumulus uses: dsaltares/fetch-gh-release-asset@master with: @@ -67,7 +75,6 @@ jobs: regex: true token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - name: Setup Rust uses: actions-rs/toolchain@v1 with: @@ -90,13 +97,6 @@ jobs: ./target/debug/wasm_injector heap-overflow ./target/debug/test.wasm ./wasm/heap-overflow.wasm.hex --hexified ./target/debug/wasm_injector infinite-loop ./target/debug/test.wasm ./wasm/infinite-loop.wasm.hex --hexified ./target/debug/wasm_injector noops ./target/debug/test.wasm ./wasm/noops.wasm.hex --hexified - - - name: Fetch zombienet release - uses: dsaltares/fetch-gh-release-asset@master - with: - repo: "paritytech/zombienet" - file: "zombienet-linux-x64" - token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Set up Julia uses: julia-actions/setup-julia@v1