add config file for cli command #130
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci_mix | |
on: [push,pull_request] | |
jobs: | |
ci_mix: | |
name: ci_mix | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Set up Golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
id: go | |
- name: set go env | |
run: export PATH=${PATH}:`go env GOPATH`/bin | |
- name: download zk key file | |
run: | | |
pwd&&cd ./plugin/dapp/mix/cmd/ | |
wget https://github.com/mdj33/gnark/blob/main/chain33key.tar.gz?raw=true -O chain33key.tar.gz | |
tar -xzvf chain33key.tar.gz | |
cp chain33key/* ./gnark/ | |
cd - | |
- name: deploy | |
run: | | |
make docker-compose dapp=mix | |
make docker-compose-down dapp=mix |