Skip to content

Commit

Permalink
chore(CI): fix semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
MingboPeng committed Jul 11, 2022
1 parent 20d147e commit 6027ace
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14

- name: Semantic Release - dry run for getting version
if: github.ref == 'refs/heads/master'
uses: cycjimmy/semantic-release-action@v3
Expand Down Expand Up @@ -96,8 +96,8 @@ jobs:
path: |
installer.exe
- run: npx semantic-release
- uses: cycjimmy/semantic-release-action@v3
if: github.ref == 'refs/heads/master'
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 6027ace

Please sign in to comment.