update workflow
Some checks failed
Build ESLint Config on Tag / build (push) Failing after 8s

This commit is contained in:
2025-12-21 18:52:06 +01:00
parent 7b7777080f
commit 0b77c7048b

View File

@@ -25,20 +25,21 @@ jobs:
run: bun run build
- name: Get version from package.json
id: pkg
run: |
VERSION=$(node -p "require('./package.json').version")
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Create git tag
run: |
git config user.name "gitea-actions[bot]"
git config user.email "gitea-actions[bot]@users.noreply.gitea.com"
git tag $VERSION
git push --force origin $VERSION
git tag ${{ steps.pkg.outputs.version }}
git push --force origin ${{ steps.pkg.outputs.version }}
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ $VERSION }}
tag_name: ${{ steps.pkg.outputs.version }}
files: |
dist/index.js