mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 13:38:43 +00:00
Simplify release-pr.yml (#2070)
Some checks are pending
Release-plz / Release-plz (push) Waiting to run
Some checks are pending
Release-plz / Release-plz (push) Waiting to run
We only want to use it for cargo-binstall release Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
a799bb428c
commit
7c38109b23
1 changed files with 4 additions and 29 deletions
33
.github/workflows/release-pr.yml
vendored
33
.github/workflows/release-pr.yml
vendored
|
@ -1,37 +1,12 @@
|
||||||
name: Open a release PR
|
name: Open cargo-binstall release PR
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
crate:
|
|
||||||
description: Crate to release
|
|
||||||
required: true
|
|
||||||
type: choice
|
|
||||||
options:
|
|
||||||
- atomic-file-install
|
|
||||||
- bin
|
|
||||||
- binstalk
|
|
||||||
- binstalk-bins
|
|
||||||
- binstalk-fetchers
|
|
||||||
- binstalk-git-repo-api
|
|
||||||
- binstalk-registry
|
|
||||||
- binstalk-manifests
|
|
||||||
- binstalk-types
|
|
||||||
- binstalk-downloader
|
|
||||||
- cargo-toml-workspace
|
|
||||||
- detect-targets
|
|
||||||
- detect-wasi
|
|
||||||
- fs-lock
|
|
||||||
- normalize-path
|
|
||||||
version:
|
version:
|
||||||
description: Version to release
|
description: Version to release
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
default: patch
|
default: patch
|
||||||
no-check-semver:
|
|
||||||
description: To disable check semver
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
default: "false"
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
@ -62,11 +37,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
version: ${{ inputs.version }}
|
version: ${{ inputs.version }}
|
||||||
crate-path: crates/${{ inputs.crate }}
|
crate-path: crates/bin
|
||||||
pr-label: release
|
pr-label: release
|
||||||
pr-release-notes: ${{ inputs.crate == 'bin' }}
|
pr-release-notes: true
|
||||||
pr-template-file: .github/scripts/release-pr-template.ejs
|
pr-template-file: .github/scripts/release-pr-template.ejs
|
||||||
check-semver: ${{ inputs.crate != 'bin' && inputs.no-check-semver != 'true' }}
|
check-semver: false
|
||||||
check-package: true
|
check-package: true
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS: --cfg reqwest_unstable
|
RUSTFLAGS: --cfg reqwest_unstable
|
||||||
|
|
Loading…
Add table
Reference in a new issue