From 1ac2e84ce8dadbb5576dd21831f94d326960af8f Mon Sep 17 00:00:00 2001 From: Florian Loitsch Date: Wed, 30 Oct 2024 10:32:18 +0100 Subject: [PATCH] Use `vars.X` for the team id. (#12) --- .github/workflows/ci.yml | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35578be..5895708 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: certificate-password: ${{ secrets.MACOS_CERTIFICATE_PWD }} username: ${{ secrets.AC_USERNAME }} password: ${{ secrets.AC_PASSWORD }} - apple-team-id: 33DS2ZRDST + apple-team-id: ${{ vars.MACOS_TEAM_ID }} app-path: main - name: Check signature @@ -56,7 +56,7 @@ jobs: certificate-password: ${{ secrets.MACOS_CERTIFICATE_PWD }} username: ${{ secrets.AC_USERNAME }} password: ${{ secrets.AC_PASSWORD }} - apple-team-id: 33DS2ZRDST + apple-team-id: ${{ vars.MACOS_TEAM_ID }} app-path: | multi1/main multi2/main diff --git a/README.md b/README.md index bfa865f..5d80028 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This action only runs on macOS. | certificate-password | The password for the certificate | `${{ secrets.CERTIFICATE_PASSWORD }}` | Yes | | username | The Apple ID username to use for notarization | `${{ secrets.APPLE_ID_USERNAME }}` | Yes | | password | The Apple ID password to use for notarization | `${{ secrets.APPLE_ID_PASSWORD }}` | Yes | -| apple-team-id | The Apple Team ID to use for signing and notarization | `33DS2ZRDST` | Yes | +| apple-team-id | The Apple Team ID to use for signing and notarization | `${{ vars.APPLE_TEAM_ID }}` | Yes | | app-path | The path(s) to the application to sign and notarize. Multiple files should be on separate lines. | `build/my_app` | Yes | | entitlements-path | The path to the entitlements file to use for signing | `src/entitlements.plist` | No | @@ -26,6 +26,6 @@ This action only runs on macOS. certificate-password: ${{ secrets.CERTIFICATE_PASSWORD }} username: ${{ secrets.APPLE_ID_USERNAME }} password: ${{ secrets.APPLE_ID_PASSWORD }} - apple-team-id: 33DS2ZRDST + apple-team-id: ${{ vars.APPLE_TEAM_ID }} app-path: build/my_app ```