Skip to content

Commit

Permalink
Merge pull request #29 from octopus-network/v2.5.0
Browse files Browse the repository at this point in the history
Upgrade to v2.5.0
  • Loading branch information
riversyang authored May 29, 2023
2 parents ed2f3a2 + 785c5f5 commit 7c6988e
Show file tree
Hide file tree
Showing 44 changed files with 2,298 additions and 2,471 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy_testnet_barnacle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Appchain anchor contract deployment on testnet (barnacle appchain)

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- run: npm install -g near-cli
- run: rustup target add wasm32-unknown-unknown
- name: Build
run: ./build.sh
- run: mkdir ~/.near-credentials
- run: mkdir ~/.near-credentials/testnet
- name: Retrieve the pk of anchor contract and save it to near credentials folder
env:
BARNACLE_ANCHOR_PK: ${{ secrets.BARNACLE_ANCHOR_PK }}
run: echo $BARNACLE_ANCHOR_PK > ~/.near-credentials/testnet/barnacle0928.registry.test_oct.testnet.json
- name: Deploy anchor contract to testnet (barnacle appchain)
run: ./scripts/ci/deploy_testnet.sh barnacle0928
Loading

0 comments on commit 7c6988e

Please sign in to comment.