Skip to content

Commit f30935e

Browse files
committed
Update CD
1 parent 9a086a6 commit f30935e

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/release.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ on:
77
types: [published]
88

99
jobs:
10-
release-mac:
10+
publish-tauri:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
platform: [macos-latest, ubuntu-latest, windows-latest]
1115
runs-on: "macos-latest"
1216
steps:
1317
- uses: actions/checkout@v4
@@ -22,6 +26,17 @@ jobs:
2226
- uses: pnpm/action-setup@v2
2327
with:
2428
version: 8
29+
# - name: import windows certificate
30+
# if: matrix.platform == 'windows-latest'
31+
# env:
32+
# WINDOWS_CERTIFICATE: ${{ secrets.WINDOWS_CERTIFICATE }}
33+
# WINDOWS_CERTIFICATE_PASSWORD: ${{ secrets.WINDOWS_CERTIFICATE_PASSWORD }}
34+
# run: |
35+
# New-Item -ItemType directory -Path certificate
36+
# Set-Content -Path certificate/tempCert.txt -Value $env:WINDOWS_CERTIFICATE
37+
# certutil -decode certificate/tempCert.txt certificate/certificate.pfx
38+
# Remove-Item -path certificate -include tempCert.txt
39+
# Import-PfxCertificate -FilePath certificate/certificate.pfx -CertStoreLocation Cert:\CurrentUser\My -Password (ConvertTo-SecureString -String $env:WINDOWS_CERTIFICATE_PASSWORD -Force -AsPlainText)
2540
- name: install frontend dependencies
2641
run: pnpm install
2742
- uses: tauri-apps/tauri-action@v0
@@ -38,4 +53,4 @@ jobs:
3853
releaseName: "Overlayed v__VERSION__"
3954
releaseBody: "See the assets to download this version and install."
4055
releaseDraft: true
41-
prerelease: true
56+
prerelease: false

0 commit comments

Comments
 (0)