Skip to content

Commit 87719e1

Browse files
committed
passing in gh secret in new place in workflow
1 parent f5bbf2b commit 87719e1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
strategy:
1313
matrix:
1414
# ubuntu-latest if you want to build for Linux
15-
os: [macos-latest, windows-latest]
15+
# windows-latest if you want to build for Windows
16+
os: [macos-latest]
1617

1718
steps:
1819
- name: Check out Git repository
@@ -30,6 +31,10 @@ jobs:
3031
# if: matrix.os == 'ubuntu-latest'
3132
# run: npm run build:linux
3233

34+
# - name: build-win
35+
# if: matrix.os == 'windows-latest'
36+
# run: npm run build:win
37+
3338
# Decode and import Developer ID Certificate
3439
- name: Set up Code Signing Certificate for macOS
3540
if: matrix.os == 'macos-latest'
@@ -47,13 +52,10 @@ jobs:
4752
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
4853
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
4954
APP_BUNDLE_ID: ${{ secrets.APP_BUNDLE_ID }}
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5056
if: matrix.os == 'macos-latest'
5157
run: npm run build:mac
5258

53-
- name: build-win
54-
if: matrix.os == 'windows-latest'
55-
run: npm run build:win
56-
5759
- name: release
5860
uses: softprops/action-gh-release@v1
5961
with:

0 commit comments

Comments
 (0)