Merge rust-bitcoin/rust-bitcoin#1725: ci: do dry-run releases in CI
99cb83c3e9
ci: do dry-run releases in CI (Andrew Poelstra) Pull request description: Will set this to "allow failure" since I think it'll fail during large parts of development, but this will be useful to avoid last-minute problems with releases. ACKs for top commit: tcharding: ACK99cb83c3e9
Kixunil: ACK99cb83c3e9
Tree-SHA512: 32a3e541deba26c0ef3b70a5cf9b4cf8efcebcb962258dd50ff77bd78b38cd9e749246e37133e9ddb806c558faa9cbbc9d8039061cbe888e8abb247c673325a6
This commit is contained in:
commit
3e31a785e1
|
@ -0,0 +1,42 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- 0.28.x
|
||||||
|
- 0.29.x
|
||||||
|
- 'test-ci/**'
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
name: Release
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
bitcoin:
|
||||||
|
name: Release - bitcoin
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Crate
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Checkout Toolchain
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
- name: run cargo
|
||||||
|
run: cargo publish -p bitcoin --dry-run
|
||||||
|
private:
|
||||||
|
name: Release - private
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Crate
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Checkout Toolchain
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
- name: run cargo
|
||||||
|
run: cargo publish -p bitcoin-private --dry-run
|
||||||
|
hashes:
|
||||||
|
name: Release - bitcoin_hashes
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Crate
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Checkout Toolchain
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
- name: run cargo
|
||||||
|
run: cargo publish -p bitcoin_hashes --dry-run
|
Loading…
Reference in New Issue