-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update gh envs, setup-node, and checkout actions
- Loading branch information
1 parent
2039298
commit a144fcc
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,12 @@ jobs: | |
build-and-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
|
||
|
@@ -26,8 +26,8 @@ jobs: | |
|
||
- name: Commit dist folder | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git config --local user.email "${{ secrets.EMAIL }}" | ||
git config --local user.name "${{ secrets.NAME }}" | ||
git add dist | ||
git commit -m "Build dist folder for release ${{ github.ref }}" || echo "No changes to commit" | ||
git push | ||
|