Skip to content

Commit

Permalink
fix GH_TOKEN error
Browse files Browse the repository at this point in the history
  • Loading branch information
sakazuki committed Aug 8, 2021
1 parent faab932 commit 7b4e121
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@

name: CI
name: Build

on:
push:
branches:
tags:
- 'v*'

jobs:
build_on_mac:
runs-on: macos-latest
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
Expand All @@ -21,6 +18,8 @@ jobs:
run: npm install
- name: build application
run: npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: create release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -36,8 +35,6 @@ jobs:

build_on_win:
runs-on: windows-latest
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
Expand All @@ -48,6 +45,8 @@ jobs:
run: npm install
- name: build application
run: npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: create release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 7b4e121

Please sign in to comment.