Skip to content

Commit 16e6ef8

Browse files
fix: update gh envs, setup-node, and checkout actions (#10)
1 parent 2039298 commit 16e6ef8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-and-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
build-and-commit:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
1515

1616
- name: Setup Node.js
17-
uses: actions/setup-node@v3
17+
uses: actions/setup-node@v4
1818
with:
1919
node-version: '20'
2020

@@ -26,14 +26,14 @@ jobs:
2626

2727
- name: Commit dist folder
2828
run: |
29-
git config --local user.email "[email protected]"
30-
git config --local user.name "GitHub Action"
29+
git config --local user.email "${{ secrets.EMAIL }}"
30+
git config --local user.name "${{ secrets.NAME }}"
3131
git add dist
3232
git commit -m "Build dist folder for release ${{ github.ref }}" || echo "No changes to commit"
3333
git push
3434
3535
- name: Update release with dist folder
3636
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
BDP_UI_TOKEN: ${{ secrets.BDP_UI_TOKEN }}
3838
run: |
3939
gh release upload ${{ github.ref }} dist/** --clobber

0 commit comments

Comments
 (0)