Skip to content

v0.11.2

v0.11.2 #9

Workflow file for this run

name: Smart Contract Deployment
on:
release:
types: [published]
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: rustup target add wasm32-unknown-unknown
- name: Contract Build
run: |
cargo build --target wasm32-unknown-unknown --release
- name: Code Tests
run: |
cargo test
- run: cargo install --locked --version 20.0.2 soroban-cli
- name: Contract Deployment issuance-contract to futurenet
run: |
soroban contract deploy \
--wasm target/wasm32-unknown-unknown/release/issuance_contract.wasm \
--source ${{ secrets.DEPLOYER_SECRET }} \
--rpc-url https://rpc-futurenet.stellar.org:443/ \
--network-passphrase 'Test SDF Future Network ; October 2022'
- name: Contract Deployment did-contract to futurenet
run: |
soroban contract deploy \
--wasm target/wasm32-unknown-unknown/release/did_contract.wasm \
--source ${{ secrets.DEPLOYER_SECRET }} \
--rpc-url https://rpc-futurenet.stellar.org:443/ \
--network-passphrase 'Test SDF Future Network ; October 2022'