Skip to content

Commit

Permalink
fix cs secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Sep 1, 2023
1 parent 97280e6 commit 2eae464
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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
Expand All @@ -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
Expand All @@ -47,7 +49,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16.14.0
cache: 'npm'
cache: "npm"

- name: Install dependencies
run: |
Expand Down

0 comments on commit 2eae464

Please sign in to comment.