From 1e07f91089ff7dd5b75a344c072ef77627be4cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simard?= Date: Mon, 13 Jan 2025 01:36:48 -0500 Subject: [PATCH] Create print_p12.yml --- .github/workflows/print_p12.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/print_p12.yml diff --git a/.github/workflows/print_p12.yml b/.github/workflows/print_p12.yml new file mode 100644 index 0000000000..83ec296d99 --- /dev/null +++ b/.github/workflows/print_p12.yml @@ -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