Skip to content

Commit

Permalink
Create print_p12.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericsimard authored Jan 13, 2025
1 parent e1e34ea commit 1e07f91
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/print_p12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Print p12
on:
workflow_dispatch:

jobs:
save_and_print_secret:
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Save GitHub Secret to File
run: |
echo "${{ secrets.MACOS_CERTIFICATE }}" > macos_certificate.p12
echo "Certificate saved to file: macos_certificate.p12"
- name: Print Certificate Contents (Base64-Encoded)
run: |
cat macos_certificate.p12 | base64

0 comments on commit 1e07f91

Please sign in to comment.