Skip to content

Commit

Permalink
change the scope of github token
Browse files Browse the repository at this point in the history
  • Loading branch information
btargac committed Feb 13, 2022
1 parent 799d834 commit db491ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- 'master'
workflow_dispatch:

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build-release:
name: Build and release the Electron App
Expand Down Expand Up @@ -38,14 +41,10 @@ jobs:
- name: Distribute Mac OS X and Windows binaries
if: ${{ matrix.os == 'macos-latest' }}
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm run dist -- --mac --win
- name: Distribute Linux binaries
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm run dist

0 comments on commit db491ff

Please sign in to comment.