diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06e0bfa0..cf07d8be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,8 +3,6 @@ name: Build/release on: push env: - APPLE_ID: ${{ secrets.APPLEID }} - APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLEIDPASS }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} @@ -23,7 +21,6 @@ jobs: out/*.mac.zip.blockmap out/latest-mac.yml CSC_LINK: CSC_LINK_MAC - APPLE_TEAM_ID: TAC9P63ANZ - platform: ubuntu os: ubuntu-latest @@ -41,6 +38,9 @@ jobs: env: CSC_LINK: ${{ secrets[matrix.CSC_LINK] }} + APPLE_TEAM_ID: ${{ matrix.platform == 'mac' && 'TAC9P63ANZ' || '' }} + APPLE_ID: ${{ secrets.APPLEID }} + APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLEIDPASS }} steps: - name: Check out Git repository