Bump version to v0.112.1 (#119) #31
Workflow file for this run
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: Release | |
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- '*' | |
jobs: | |
release: | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: ckb-debugger ${{ github.ref_name }} | |
draft: false | |
prerelease: false | |
publish-linux: | |
name: Publish binary on Linux | |
needs: [release] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cd ckb-debugger && cargo build --release --features=stdio | |
- name: Archive files | |
run: | | |
mkdir dist | |
cp target/release/ckb-debugger dist | |
cp LICENSE dist | |
cd dist && tar -cvzf ckb-debugger-linux-x64.tar.gz ckb-debugger LICENSE | |
- name: Generate checksum | |
run: cd dist && sha256sum ckb-debugger-linux-x64.tar.gz > ckb-debugger-linux-x64-sha256.txt | |
- name: Upload | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
dist/ckb-debugger-linux-x64.tar.gz | |
dist/ckb-debugger-linux-x64-sha256.txt | |
publish-macos: | |
name: Publish binary on macOS | |
needs: [release] | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cd ckb-debugger && cargo build --release --features=stdio | |
- name: Archive files | |
run: | | |
mkdir dist | |
cp target/release/ckb-debugger dist | |
cp LICENSE dist | |
cd dist && tar -cvzf ckb-debugger-macos-x64.tar.gz ckb-debugger LICENSE | |
- name: Generate checksum | |
run: cd dist && shasum -a 256 ckb-debugger-macos-x64.tar.gz > ckb-debugger-macos-x64-sha256.txt | |
- name: Upload | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
dist/ckb-debugger-macos-x64.tar.gz | |
dist/ckb-debugger-macos-x64-sha256.txt | |
publish-windows: | |
name: Publish binary on Windows | |
needs: [release] | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cd ckb-debugger && cargo build --release | |
- name: Archive files | |
run: | | |
mkdir dist | |
copy target/release/ckb-debugger.exe dist | |
copy LICENSE dist | |
cd dist && tar -cvzf ckb-debugger-windows-x64.tar.gz ckb-debugger.exe LICENSE | |
- name: Generate checksum | |
run: cd dist && Get-FileHash ckb-debugger-windows-x64.tar.gz > ckb-debugger-windows-x64-sha256.txt | |
- name: Upload | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
dist/ckb-debugger-windows-x64.tar.gz | |
dist/ckb-debugger-windoes-x64-sha256.txt | |
publish-crates-io: | |
name: Publish ckb-mock-tx-types to crates.io | |
needs: [release] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Publish | |
run: | | |
cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
cd ckb-mock-tx-types && cargo publish && cd .. | |
cd ckb-vm-pprof && cargo publish && cd .. | |
cd ckb-debugger-api && cargo publish && cd .. | |
cd ckb-gdb-remote-protocol && cargo publish && cd .. | |
cd ckb-vm-debug-utils && cargo publish && cd .. | |
cd ckb-debugger && cargo publish && cd .. | |
cd ckb-vm-pprof-protos && cargo publish && cd .. | |
cd ckb-vm-pprof-converter && cargo publish && cd .. | |
cd ckb-vm-signal-profiler && cargo publish && cd .. |