Skip to content

Commit 494905f

Browse files
committed
ci: fix asia-release.yml
1 parent b9f81bf commit 494905f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/asia-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
on:
22
release:
33
types: [released]
4+
workflow_dispatch:
5+
inputs:
6+
release_id:
7+
type: number
8+
required: true
49

510
permissions:
611
id-token: write
@@ -17,7 +22,7 @@ jobs:
1722
- name: Download release asset
1823
uses: dsaltares/fetch-gh-release-asset@1.1.2
1924
with:
20-
version: tags/${{ github.ref_name }}
25+
version: ${{ github.event.release.id || github.event.inputs.release_id }}
2126
file: 'HSTracker.app.zip'
2227

2328
- name: Configure AWS Credentials

0 commit comments

Comments
 (0)