Skip to content

fix the github actions #90

fix the github actions

fix the github actions #90

Workflow file for this run

name: Auto Release
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: 'web/package-lock.json'
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: true
-
name: Build frontend
run: |
cd web
npm ci
npm run build
cd ..
go generate ./...
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}