update workflow
All checks were successful
Build ESLint Config and Release / build-and-release (push) Successful in 9s
All checks were successful
Build ESLint Config and Release / build-and-release (push) Successful in 9s
This commit is contained in:
@@ -24,6 +24,15 @@ jobs:
|
||||
- name: Build
|
||||
run: bun run build
|
||||
|
||||
- name: Copy generated file to repo
|
||||
run: |
|
||||
cp dist/index.js index.js
|
||||
git config user.name "gitea-actions[bot]"
|
||||
git config user.email "gitea-actions[bot]@users.noreply.gitea.com"
|
||||
git add index.js
|
||||
git commit -m "chore: update generated index.js" || echo "No changes to commit"
|
||||
git push origin main
|
||||
|
||||
- name: Get version from package.json
|
||||
id: pkg
|
||||
run: |
|
||||
@@ -41,4 +50,3 @@ jobs:
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
tag_name: ${{ steps.pkg.outputs.version }}
|
||||
files: dist/index.js
|
||||
|
||||
Reference in New Issue
Block a user