We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86f5c44 commit 18905efCopy full SHA for 18905ef
1 file changed
.github/workflows/release.yml
@@ -4,6 +4,12 @@ on:
4
push:
5
tags:
6
- 'v*'
7
+ workflow_dispatch:
8
+ inputs:
9
+ tag:
10
+ description: Tag to build and upload artifacts for (e.g. v0.2.0)
11
+ required: true
12
+ type: string
13
14
jobs:
15
build:
@@ -26,6 +32,8 @@ jobs:
26
32
27
33
steps:
28
34
- uses: actions/checkout@v4
35
+ with:
36
+ ref: ${{ github.event.inputs.tag || github.ref }}
29
37
30
38
- name: Install Linux dependencies
31
39
if: matrix.os == 'ubuntu-22.04'
@@ -45,7 +53,8 @@ jobs:
45
53
env:
46
54
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47
55
run: |
48
- RELEASE_ID=$(gh release view "${{ github.ref_name }}" --json databaseId --jq '.databaseId')
56
+ TAG=${{ github.event.inputs.tag || github.ref_name }}
57
+ RELEASE_ID=$(gh release view "$TAG" --json databaseId --jq '.databaseId')
49
58
echo "release_id=$RELEASE_ID" >> $GITHUB_OUTPUT
50
59
51
60
- uses: tauri-apps/tauri-action@v0
0 commit comments