update workflow
All checks were successful
Build ESLint Config and Release / build-and-release (push) Successful in 9s

This commit is contained in:
2025-12-21 19:34:16 +01:00
parent a5e0716589
commit 6b86b370ce

View File

@@ -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