Skip to content

Commit 57bf0d0

Browse files
committed
feat: differentiate between signed and unsigned Tauri app builds in release workflow
1 parent 0e7cd11 commit 57bf0d0

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
- name: Install dependencies
3131
run: npm ci
3232

33-
- name: Build Tauri app
33+
- name: Build Tauri app (signed)
34+
if: secrets.APPLE_CERTIFICATE != ''
3435
uses: tauri-apps/tauri-action@v0
3536
env:
3637
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -46,3 +47,15 @@ jobs:
4647
releaseBody: "See the assets below to download the app."
4748
releaseDraft: true
4849
prerelease: false
50+
51+
- name: Build Tauri app (unsigned)
52+
if: secrets.APPLE_CERTIFICATE == ''
53+
uses: tauri-apps/tauri-action@v0
54+
env:
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56+
with:
57+
tagName: ${{ github.ref_name }}
58+
releaseName: ${{ github.ref_name }}
59+
releaseBody: "See the assets below to download the app."
60+
releaseDraft: true
61+
prerelease: false

0 commit comments

Comments
 (0)