mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 21:48:42 +00:00
Fix release-dry-run (#1764)
Dry run publish in merge_queue CI for release PR Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
4c68c80ab8
commit
07dd868fa6
1 changed files with 15 additions and 0 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -190,7 +190,22 @@ jobs:
|
||||||
- run: just avoid-dev-deps
|
- run: just avoid-dev-deps
|
||||||
- run: just lint
|
- run: just lint
|
||||||
|
|
||||||
|
pr-info:
|
||||||
|
outputs:
|
||||||
|
is-release: ${{ steps.meta.outputs.is-release }}
|
||||||
|
crate: ${{ steps.meta.outputs.crates-names }}
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- id: meta
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
|
uses: cargo-bins/release-meta@v1
|
||||||
|
with:
|
||||||
|
event-data: ${{ toJSON(github.event) }}
|
||||||
|
extract-notes-under: "### Release notes"
|
||||||
|
|
||||||
release-dry-run:
|
release-dry-run:
|
||||||
|
needs: pr-info
|
||||||
uses: ./.github/workflows/release-cli.yml
|
uses: ./.github/workflows/release-cli.yml
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
Loading…
Add table
Reference in a new issue