Skip to content

Commit a333a4e

Browse files
committed
Update release workflow
1 parent a502305 commit a333a4e

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
@@ -1,11 +1,15 @@
11
name: Release
22

3-
# Trigger the workflow on push or pull request
43
on:
54
workflow_dispatch:
65
inputs:
76
dry-run:
8-
description: "Do not upload the release to GitHub"
7+
description: "Set to true to create an archive containing the release instead of publishing it on GitHub"
8+
type: boolean
9+
required: false
10+
default: false
11+
force:
12+
description: "Set to true to allow this action to overwrite an existing release, and to make a release with an incorrect date"
913
type: boolean
1014
required: false
1115
default: false
@@ -41,5 +45,6 @@ jobs:
4145
- uses: gap-actions/release-pkg@v1
4246
with:
4347
dry-run: ${{ inputs.dry-run }}
48+
force: ${{ inputs.force }}
4449
- uses: gap-actions/update-gh-pages@v1
4550
if: ${{ !inputs.dry-run }}

0 commit comments

Comments
 (0)