Skip to content

Commit

Permalink
chore(rust/basic_bitcoin): release action (#976)
Browse files Browse the repository at this point in the history
* chore(rust/basic_bitcoin): release action

* gzip

* fix path

* paths
  • Loading branch information
mraszyk authored Sep 16, 2024
1 parent d223d30 commit 8049121
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/rust-basic-bitcoin-example-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: rust-basic-bitcoin-release
on:
push:
branches:
- master
pull_request:
paths:
- rust/basic_bitcoin/**
- .github/workflows/provision-linux.sh
- .github/workflows/rust-basic-bitcoin-example-release.yml
- .ic-commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-basic-bitcoin-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Rust Basic Bitcoin Linux
run: |
pushd rust/basic_bitcoin
bash src/basic_bitcoin/build.sh
cp target/wasm32-unknown-unknown/release/basic_bitcoin.wasm basic_bitcoin.wasm
gzip -9 basic_bitcoin.wasm
- uses: actions/upload-artifact@v4
with:
name: "basic_bitcoin.wasm.gz"
path: "rust/basic_bitcoin/basic_bitcoin.wasm.gz"
compression-level: 0

0 comments on commit 8049121

Please sign in to comment.