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

This commit is contained in:
2025-12-21 19:16:29 +01:00
parent a69b8ce745
commit a5e0716589

View File

@@ -24,23 +24,12 @@ jobs:
- name: Build
run: bun run build
- name: Verify dist
run: |
if [ ! -f "dist/index.js" ]; then
echo "ERROR: dist/index.js not found"
ls -la dist
exit 1
fi
- name: Get version from package.json
id: pkg
run: |
VERSION=$(node -p "require('./package.json').version")
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Prepare release assets
run: cp dist/index.js .
- name: Create git tag
run: |
git config user.name "gitea-actions[bot]"
@@ -52,4 +41,4 @@ jobs:
uses: akkuman/gitea-release-action@v1
with:
tag_name: ${{ steps.pkg.outputs.version }}
files: /dist/index.js
files: dist/index.js