Skip to content

Commit 3140538

Browse files
committed
fix: update base64 decode command for macOS
1 parent acf91a7 commit 3140538

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ jobs:
3636
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
3737
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
3838
run: |
39-
# Write certificate to file
40-
echo "$MACOS_CERTIFICATE" > certificate.txt
41-
base64 --decode certificate.txt > certificate.p12
39+
# Write certificate to file and decode it
40+
echo "$MACOS_CERTIFICATE" | base64 -D > certificate.p12
4241
4342
# Create keychain
4443
security create-keychain -p "$KEYCHAIN_PASSWORD" build.keychain

0 commit comments

Comments
 (0)