Skip to content

Commit 7c6988e

Browse files
authored
Merge pull request #29 from octopus-network/v2.5.0
Upgrade to v2.5.0
2 parents ed2f3a2 + 785c5f5 commit 7c6988e

44 files changed

Lines changed: 2298 additions & 2471 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Appchain anchor contract deployment on testnet (barnacle appchain)
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: "18"
20+
- run: npm install -g near-cli
21+
- run: rustup target add wasm32-unknown-unknown
22+
- name: Build
23+
run: ./build.sh
24+
- run: mkdir ~/.near-credentials
25+
- run: mkdir ~/.near-credentials/testnet
26+
- name: Retrieve the pk of anchor contract and save it to near credentials folder
27+
env:
28+
BARNACLE_ANCHOR_PK: ${{ secrets.BARNACLE_ANCHOR_PK }}
29+
run: echo $BARNACLE_ANCHOR_PK > ~/.near-credentials/testnet/barnacle0928.registry.test_oct.testnet.json
30+
- name: Deploy anchor contract to testnet (barnacle appchain)
31+
run: ./scripts/ci/deploy_testnet.sh barnacle0928

0 commit comments

Comments
 (0)