File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,17 @@ jobs:
56
56
run : |
57
57
pnpm run test.lint
58
58
59
- - name : Validate Dist
59
+ - name : Update Dist
60
60
run : |
61
61
if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
62
- echo "Detected uncommitted changes after build. See status below:"
63
- git diff --ignore-space-at-eol --text dist/ ':(exclude)*.js.map'
64
- exit 1
62
+ git config user.name "github-actions[bot]"
63
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
64
+ git add dist/
65
+ git commit -m "chore(build): update dist"
66
+ git push
65
67
fi
68
+ env :
69
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66
70
67
71
- name : Upload Dist
68
72
uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change 78
78
- nodistro
79
79
- NOPASSWD
80
80
- noprogressbar
81
+ - noreply
81
82
- nothrow
82
83
- npmrc
83
84
- Opencppcoverage
You can’t perform that action at this time.
0 commit comments