mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 13:38:43 +00:00
CI: Allow semver-check in release-pr.yml
to be disabled via inputs (#1789)
In case buliding of previous version fail due to new releases in upstream. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
c49072c565
commit
45b25fede5
1 changed files with 6 additions and 1 deletions
7
.github/workflows/release-pr.yml
vendored
7
.github/workflows/release-pr.yml
vendored
|
@ -27,6 +27,11 @@ on:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
default: patch
|
default: patch
|
||||||
|
no-check-semver:
|
||||||
|
description: Whether to check semver
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: "false"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
make-release-pr:
|
make-release-pr:
|
||||||
|
@ -56,7 +61,7 @@ jobs:
|
||||||
pr-label: release
|
pr-label: release
|
||||||
pr-release-notes: ${{ inputs.crate == 'bin' }}
|
pr-release-notes: ${{ inputs.crate == 'bin' }}
|
||||||
pr-template-file: .github/scripts/release-pr-template.ejs
|
pr-template-file: .github/scripts/release-pr-template.ejs
|
||||||
check-semver: ${{ inputs.crate != 'bin' && inputs.crate != 'leon-macros' }}
|
check-semver: ${{ inputs.crate != 'bin' && inputs.no-check-semver != 'true' }}
|
||||||
check-package: true
|
check-package: true
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: --cfg reqwest_unstable
|
RUSTFLAGS: --cfg reqwest_unstable
|
||||||
|
|
Loading…
Add table
Reference in a new issue