Skip to content

Commit

Permalink
fix(ci): Try to fix zombienet binary execution
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Dimitrov <[email protected]>
  • Loading branch information
dimitrovmaksim committed Jul 28, 2023
1 parent eb8adce commit a0514ad
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -67,7 +75,6 @@ jobs:
regex: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}


- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -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
Expand Down

0 comments on commit a0514ad

Please sign in to comment.