Skip to content

Commit 32393dd

Browse files
committed
fix: add draft release input to GitHub Actions workflow
1 parent c414b15 commit 32393dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/1.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ on:
3131
required: true
3232
options: ["tar.gz", "zip"]
3333
default: "tar.gz"
34+
draft-release:
35+
description: Create draft release
36+
type: boolean
37+
default: false
38+
required: false
3439
jobs:
3540
build:
3641
runs-on: ubuntu-latest
@@ -125,6 +130,7 @@ jobs:
125130
switch-to-tag: true
126131
create-release: true
127132
skip-checkout: true
133+
draft-release: ${{ inputs.draft-release }}
128134
env:
129135
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130136

0 commit comments

Comments
 (0)