Skip to content

Commit 5aa10dc

Browse files
authored
fix(ci): use correct Apple signing secret names (#1006)
Align CI secret references with the actual secret names set in the production environment: - `secrets.CSC_LINK` → `secrets.APPLE_CERT_DATA` - `secrets.CSC_KEY_PASSWORD` → `secrets.APPLE_CERT_PASSWORD` - `vars.APPLE_TEAM_ID` → `secrets.APPLE_TEAM_ID` The previous names were copied from Spotlight's workflow but the secrets were set with different names in this repo.
1 parent 48200d5 commit 5aa10dc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ jobs:
259259
run: pnpm install --frozen-lockfile
260260
- name: Setup codesign dependencies
261261
env:
262-
APPLE_CERT_DATA: ${{ secrets.CSC_LINK }}
262+
APPLE_CERT_DATA: ${{ secrets.APPLE_CERT_DATA }}
263263
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
264264
run: |
265265
curl -L 'https://github.com/indygreg/apple-platform-rs/releases/download/apple-codesign%2F0.29.0/apple-codesign-0.29.0-x86_64-unknown-linux-musl.tar.gz' -o 'rcodesign.tar.gz'
@@ -297,8 +297,8 @@ jobs:
297297
RELEASE_BUILD: ${{ github.event_name != 'pull_request' && '1' || '' }}
298298
# Codesigning: only on main/release pushes (fork PRs lack secrets)
299299
FOSSILIZE_SIGN: ${{ github.event_name == 'push' && (github.ref_name == 'main' || startsWith(github.ref_name, 'release/')) && 'y' || 'n' }}
300-
APPLE_CERT_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
301-
APPLE_TEAM_ID: ${{ vars.APPLE_TEAM_ID }}
300+
APPLE_CERT_PASSWORD: ${{ secrets.APPLE_CERT_PASSWORD }}
301+
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
302302
run: pnpm run build -- --target ${{ matrix.target }}
303303
- name: Smoke test
304304
if: matrix.can-test

0 commit comments

Comments
 (0)