File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,15 @@ jobs:
4242 uses : codecov/codecov-action@v1
4343 with :
4444 token : ${{ secrets.CODECOV_TOKEN }}
45-
46- - name : Release
45+
46+ - name : Setup git config
4747 run : |
48+ git config --global user.name $USER_NAME
49+ git config --global user.email $USER_EMAIL
4850 git remote set-url origin https://${GITHUB_TOKEN}@github.com/${REPOSITORY}
49- yarn release
51+
52+ - name : Release
53+ run : yarn release
5054
5155 - name : Deploy
5256 run : |
5559 env :
5660 USER_NAME : ' github-actions[bot]'
5761 USER_EMAIL : ' github-actions[bot]@users.noreply.github.com'
58- GITHUB_TOKEN : ${{ github.token }} # GITHUB_TOKEN is required
62+ GITHUB_TOKEN : ${{ github.token }} # GITHUB_TOKEN is required for `release-it`
5963 DEPLOY_ACCESS_TOKEN : ${{ secrets.DEPLOY_ACCESS_TOKEN }}
6064 REPOSITORY : ${{ github.repository }}
You can’t perform that action at this time.
0 commit comments