diff options
author | Christoph Settgast <csett86@web.de> | 2022-01-11 20:11:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 20:11:28 +0100 |
commit | 7c30eb5c87491b0fba9c23ee6346cf9d27bb209b (patch) | |
tree | a67f5d49239f7779d6f7f275babdafeee37b9f73 | |
parent | 218347548aee421d325cff9019b42fc3ff635356 (diff) |
Revert "ci(mac): directly set env vars based on secrets (#697)"
This reverts commit f91287a369c030408ad3a69ac4338c1a6133e8de.
-rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d49b39..d2135d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,14 +40,17 @@ jobs: - uses: actions/setup-node@v2 with: node-version: '16' + - name: Prepare for app signing and notarization + if: ${{ github.event_name != 'pull_request' }} + run: | + echo "CSC_LINK=${{ secrets.mac_cert }}" >> $GITHUB_ENV + echo "CSC_KEY_PASSWORD=${{ secrets.mac_cert_password }}" >> $GITHUB_ENV + echo "APPLE_ID=${{ secrets.apple_id }}" >> $GITHUB_ENV + echo "APPLE_ID_PASSWORD=${{ secrets.apple_id_password }}" >> $GITHUB_ENV + echo "TEAM_ID=${{ secrets.team_id }}" >> $GITHUB_ENV - name: Build it env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CSC_LINK: ${{ secrets.mac_cert }} - CSC_KEY_PASSWORD: ${{ secrets.mac_cert_password }} - APPLE_ID: ${{ secrets.apple_id }} - APPLE_ID_PASSWORD: ${{ secrets.apple_id_password }} - TEAM_ID: ${{ secrets.team_id }} run: | npm install npm run lint |