Skip to content

Commit

Permalink
feat: sign + notarize MacOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen Nijhuis committed Apr 24, 2024
1 parent 977fd91 commit c42842e
Show file tree
Hide file tree
Showing 5 changed files with 916 additions and 788 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,21 @@ jobs:
});
return release.body;
- name: Write Private API key to file (OSX)
if: matrix.settings.platform == 'macos-latest' || matrix.settings.platform == 'macos-13'
run: echo "${{ secrets.APPLE_PRIVATE_API_KEY_CONTENTS }}" > apple_private_api_key.p8

- name: Create release
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
APPEL_API_KEY_PATH: apple_private_api_key.p8
with:
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "v__VERSION__"
Expand Down
188 changes: 94 additions & 94 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@monaco-editor/loader": "^1.4.0",
"@radix-icons/vue": "^1.0.0",
"@tanstack/vue-table": "^8.11.0",
"@tauri-apps/api": "1.4.0",
"@tauri-apps/api": "^1.5.4",
"@vee-validate/zod": "^4.12.5",
"@vueuse/core": "^10.7.2",
"class-variance-authority": "^0.7.0",
Expand Down Expand Up @@ -47,7 +47,7 @@
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@semantic-release/git": "^10.0.1",
"@tauri-apps/cli": "1.4.0",
"@tauri-apps/cli": "^1.5.11",
"@types/node": "20.4.1",
"@vitejs/plugin-vue": "4.2.3",
"@vue/devtools": "6.5.1",
Expand Down
Loading

0 comments on commit c42842e

Please sign in to comment.