ci: do dry-run releases in CI

This commit is contained in:
Andrew Poelstra 2023-03-22 02:06:36 +00:00
parent 136d5772b6
commit 99cb83c3e9
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 42 additions and 0 deletions

42
.github/workflows/release.yml vendored Normal file
View File

@ -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