From 2eae464f7ec3423026e17e8c7ad3b9f8b499aa43 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Fri, 1 Sep 2023 22:03:48 +0200 Subject: [PATCH] fix cs secrets --- .github/workflows/build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e15ac5e3..46bb8994f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,15 +3,12 @@ name: Build/release on: push env: - CSC_LINK: ${{ secrets.CSC_LINK }} - CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} APPLEID: ${{ secrets.APPLEID }} APPLEIDPASS: ${{ secrets.APPLEIDPASS }} GH_TOKEN: ${{ secrets.GH_TOKEN }} - + CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} jobs: - release: runs-on: ${{ matrix.os }} @@ -25,6 +22,7 @@ jobs: out/*.dmg out/*.mac.zip.blockmap out/latest-mac.yml + CSC_LINK: CSC_LINK_MAC - platform: ubuntu os: ubuntu-latest @@ -38,6 +36,10 @@ jobs: artifactPath: | out/*.exe out/latest.yml + CSC_LINK: CSC_LINK_WIN + + env: + CSC_LINK: ${{ secrets[matrix.CSC_LINK] }} steps: - name: Check out Git repository @@ -47,7 +49,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: 16.14.0 - cache: 'npm' + cache: "npm" - name: Install dependencies run: |