Files
ArmA-3-web-server/.gitea/workflows/release.yml
T
MrFastwind d66f8bdd26 ci: add go test and npm test to CI pipeline, remove redundant npm ci
- ci.yml: add 'go test ./...' and 'npm test' steps
- release.yml: remove redundant 'cd frontend && npm ci' (GoReleaser handles it)
2026-07-23 20:15:31 +02:00

30 lines
707 B
YAML

name: Release
on:
push:
tags:
- "v*"
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: "1.25"
- uses: actions/setup-node@v4
with:
node-version: "22"
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: goreleaser/goreleaser-action@v6
with:
version: "~> 2"
args: release --clean
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
REGISTRY: ${{ gitea.server_host }}
REPOSITORY_OWNER: ${{ gitea.repository_owner }}