File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : rust-basic-bitcoin-release
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ paths :
8
+ - rust/basic_bitcoin/**
9
+ - .github/workflows/provision-linux.sh
10
+ - .github/workflows/rust-basic-bitcoin-example-release.yml
11
+ - .ic-commit
12
+ concurrency :
13
+ group : ${{ github.workflow }}-${{ github.ref }}
14
+ cancel-in-progress : true
15
+ jobs :
16
+ rust-basic-bitcoin-linux :
17
+ runs-on : ubuntu-20.04
18
+ steps :
19
+ - uses : actions/checkout@v1
20
+ - name : Provision Linux
21
+ run : bash .github/workflows/provision-linux.sh
22
+ - name : Rust Basic Bitcoin Linux
23
+ run : |
24
+ pushd rust/basic_bitcoin
25
+ bash src/basic_bitcoin/build.sh
26
+ cp target/wasm32-unknown-unknown/release/basic_bitcoin.wasm basic_bitcoin.wasm
27
+ gzip -9 basic_bitcoin.wasm
28
+ - uses : actions/upload-artifact@v4
29
+ with :
30
+ name : " basic_bitcoin.wasm.gz"
31
+ path : " rust/basic_bitcoin/basic_bitcoin.wasm.gz"
32
+ compression-level : 0
You can’t perform that action at this time.
0 commit comments