Skip to content

Commit 0f61f81

Browse files
committed
on macos only for cert
1 parent f5ce104 commit 0f61f81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
run: bun install # change this to npm, pnpm or bun depending on which one you use.
4343

4444
- name: import Apple Developer Certificate
45+
if: matrix.platform == 'macos-latest'
4546
# Prevents keychain from locking automatically for 3600 seconds.
4647
env:
4748
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
@@ -58,6 +59,7 @@ jobs:
5859
security find-identity -v -p codesigning build.keychain
5960
6061
- name: verify certificate
62+
if: matrix.platform == 'macos-latest'
6163
run: |
6264
CERT_INFO=$(security find-identity -v -p codesigning build.keychain | grep "Developer ID Application")
6365
CERT_ID=$(echo "$CERT_INFO" | awk -F'"' '{print $2}')

0 commit comments

Comments
 (0)