Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
hingobway committed Nov 19, 2024
1 parent 2a2e233 commit b2d9d50
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,23 @@ jobs:
# javascript
- name: pnpm install
run:
pnpm install
run: pnpm install

# compile and upload
# compile
- name: prep cert
uses: apple-actions/import-codesign-certs@v3
with:
p12-file-base64: ${{ secrets.CERT_P12 }}
p12-password: ${{ secrets.CERT_P12_PASSWORD }}
- name: bundle
run: pnpm tauri build
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APPLE_CERTIFICATE: ${{ secrets.CERT_P12 }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.CERT_P12_PASSWORD }}
APPLE_SIGNING_IDENTITY: ${{ secrets.CERT_APPLICATION }}

# upload
- name: upload binary
uses: softprops/action-gh-release@v2.1.0
with:
Expand Down

0 comments on commit b2d9d50

Please sign in to comment.