-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e7e5f2
commit 78c3af2
Showing
2 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,29 +26,31 @@ jobs: | |
- name: Import Apple Developer Certificate (macOS only) | ||
if: matrix.os == 'macos-latest' | ||
env: | ||
DEVELOPER_ID_CERT: ${{ secrets.DEVELOPER_ID_CERT }} | ||
DEVELOPER_ID_CERT_PASSWORD: ${{ secrets.DEVELOPER_ID_CERT_PASSWORD }} | ||
CSC_NAME: ${{ secrets.CSC_NAME }} | ||
DEVELOPER_ID_CERT: ${{ secrets.DEVELOPER_ID_CERT }} | ||
DEVELOPER_ID_CERT_PASSWORD: ${{ secrets.DEVELOPER_ID_CERT_PASSWORD }} | ||
CSC_NAME: ${{ secrets.CSC_NAME }} | ||
run: | | ||
echo "$DEVELOPER_ID_CERT" | base64 --decode > developer_id_certificate.p12 | ||
security create-keychain -p "" build.keychain | ||
security default-keychain -s build.keychain | ||
security unlock-keychain -p "" build.keychain | ||
security import developer_id_certificate.p12 -k build.keychain -P "$DEVELOPER_ID_CERT_PASSWORD" -T /usr/bin/codesign | ||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "" build.keychain | ||
echo "$DEVELOPER_ID_CERT" | base64 --decode > developer_id_certificate.p12 | ||
security create-keychain -p "" build.keychain | ||
security default-keychain -s build.keychain | ||
security unlock-keychain -p "" build.keychain | ||
security import developer_id_certificate.p12 -k build.keychain -P "$DEVELOPER_ID_CERT_PASSWORD" -T /usr/bin/codesign | ||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "" build.keychain | ||
- name: List Certificates in Keychain (macOS only) | ||
if: matrix.os == 'macos-latest' | ||
run: | | ||
security find-identity -v -p codesigning | ||
security find-identity -v -p codesigning | ||
- name: Build and Release | ||
uses: samuelmeuli/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
release: true | ||
env: | ||
DEBUG: electron-notarize | ||
APPLE_ID: ${{ secrets.APPLE_ID }} | ||
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} | ||
CSC_NAME: ${{ secrets.CSC_NAME }} | ||
DEBUG: electron-notarize* | ||
APPLE_ID: ${{ secrets.APPLE_ID }} | ||
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} | ||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} | ||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} | ||
CSC_NAME: ${{ secrets.CSC_NAME }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters