Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Dev 1969 v2 bindings fix (#451) #252

Dev 1969 v2 bindings fix (#451)

Dev 1969 v2 bindings fix (#451) #252

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Compile with Docker
run: |
# build wasm files
./scripts/build.sh
# compress artifacts
tar -zcvf elys-bindings-${{ github.ref_name }}.tar.gz artifacts
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: elys-bindings-${{ github.ref_name }}.tar.gz
- name: Deploy to TestNet
run: |
# deploy
./scripts/deploy.sh "${{ secrets.KEY_MNEMONIC }}"
- name: Test Queries
run: |
# set user address
USER_ADDRESS=elys1dty5tjwtg55vqsxn2k0nup6my50zdpcjqyv0gy
# add path
export PATH=/tmp:$PATH
# run the scripts/queries.sh script
./scripts/queries.sh $USER_ADDRESS