Skip to content

Commit 5a5a3cc

Browse files
authored
Make Release CI manually callable (#1229)
* Fix call to robinraju/release-downloader * Make the releaser manually callable with a release_tag argument
1 parent 6d945d5 commit 5a5a3cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/releaser.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ name: Release
33
on:
44
release:
55
types: [published]
6+
# Can be called manually
7+
workflow_dispatch:
8+
inputs:
9+
release_tag:
10+
description: 'Release tag'
11+
default: 'latest'
12+
type: string
613

714
env:
815
DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'
@@ -19,6 +26,7 @@ jobs:
1926
- name: "Download Release Assets"
2027
uses: robinraju/[email protected]
2128
with:
29+
tag: ${{ github.event.inputs.release_tag || 'latest' }}
2230
fileName: "*.whl"
2331
tarBall: true
2432
zipBall: true

0 commit comments

Comments
 (0)