Skip to content

Commit eeb718d

Browse files
committed
chore(target_chains/near): save wasm as artifact in CI
1 parent c171c3e commit eeb718d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci-near-contract.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ on:
55
paths:
66
- target_chains/near/**
77
- wormhole_attester/sdk/rust/**
8+
- .github/workflows/ci-near-contract.yml
89
push:
910
branches:
1011
- main
1112
paths:
1213
- target_chains/near/**
1314
- wormhole_attester/sdk/rust/**
15+
- .github/workflows/ci-near-contract.yml
1416

1517
env:
1618
CARGO_TERM_COLOR: always
@@ -37,3 +39,9 @@ jobs:
3739
- run: sudo apt-get install -y libudev-dev
3840
- run: cargo +stable install --locked cargo-near@0.13.3
3941
- run: cargo near build reproducible-wasm
42+
- name: Upload artifact
43+
uses: actions/upload-pages-artifact@v3
44+
with:
45+
name: pyth_near.wasm
46+
path: target/near/pyth_near.wasm
47+
retention-days: 365

0 commit comments

Comments
 (0)