Skip to content

Commit 29d977a

Browse files
committed
👷 给release工作流添加delete_release参数
1 parent 5bcbc17 commit 29d977a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@ on:
55
workflow_dispatch:
66
inputs:
77
version:
8-
description: "App version (x.y.z)"
8+
description: "应用版本 (x.y.z)"
99
required: true
1010
prerelease:
1111
type: boolean
1212
description: "Is pre-release"
1313
required: false
1414
default: false
15+
delete_release:
16+
type: boolean
17+
description: "删除以前的release"
18+
required: false
19+
default: false
1520

1621
jobs:
1722
build:
@@ -26,7 +31,7 @@ jobs:
2631
aur_version: ${{ inputs.version }}
2732
aur_key_algorithm: "ed25519"
2833
aur_package_name: "project-graph-bin"
29-
delete_release: false
34+
delete_release: ${{ inputs.delete_release }}
3035
prerelease: ${{ inputs.prerelease }}
3136
release_name: "v${{ inputs.version }}"
3237
release_tag: "v${{ inputs.version }}"

0 commit comments

Comments
 (0)