Skip to content

Commit

Permalink
Update CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Nov 17, 2023
1 parent 9a086a6 commit f30935e
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ on:
types: [published]

jobs:
release-mac:
publish-tauri:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v4
Expand All @@ -22,6 +26,17 @@ jobs:
- uses: pnpm/action-setup@v2
with:
version: 8
# - name: import windows certificate
# if: matrix.platform == 'windows-latest'
# env:
# WINDOWS_CERTIFICATE: ${{ secrets.WINDOWS_CERTIFICATE }}
# WINDOWS_CERTIFICATE_PASSWORD: ${{ secrets.WINDOWS_CERTIFICATE_PASSWORD }}
# run: |
# New-Item -ItemType directory -Path certificate
# Set-Content -Path certificate/tempCert.txt -Value $env:WINDOWS_CERTIFICATE
# certutil -decode certificate/tempCert.txt certificate/certificate.pfx
# Remove-Item -path certificate -include tempCert.txt
# Import-PfxCertificate -FilePath certificate/certificate.pfx -CertStoreLocation Cert:\CurrentUser\My -Password (ConvertTo-SecureString -String $env:WINDOWS_CERTIFICATE_PASSWORD -Force -AsPlainText)
- name: install frontend dependencies
run: pnpm install
- uses: tauri-apps/tauri-action@v0
Expand All @@ -38,4 +53,4 @@ jobs:
releaseName: "Overlayed v__VERSION__"
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: true
prerelease: false

0 comments on commit f30935e

Please sign in to comment.