Skip to content

PACKAGE: rebuild with correct tag #17

PACKAGE: rebuild with correct tag

PACKAGE: rebuild with correct tag #17

Workflow file for this run

name: Package (Linux)
on:
push:
branches: [ main ]
permissions:
contents: write
jobs:
build-linux:
if: contains(github.event.head_commit.message, 'PACKAGE')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { lfs: true }
- uses: actions/setup-node@v4
with:
node-version: 22.15.0
cache: npm
cache-dependency-path: |
package-lock.json
renderer/package-lock.json
- run: npm ci
- run: npm ci --prefix renderer
- run: npm run package
- id: get_version
run: |
VERSION=$(node -p "require('./package.json').version")
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
- name: Publish ZIP to GitHub Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.get_version.outputs.VERSION }}
name: "Tagasaurus v${{ steps.get_version.outputs.VERSION }}"
draft: false
prerelease: true
files: build/*.zip
fail_on_unmatched_files: true