Files
klink/.gitea/workflows/release.yml
T
gary 166ffdecbf feat: expand SSH management and cross-platform support
Add idempotent ktui sync, managed host keys, recoverable SSH sessions, resumable SFTP transfers, and mouse interactions. Enable background tunnels and staged self-updates on Windows with broader lifecycle tests.
2026-07-20 17:46:02 +08:00

43 lines
847 B
YAML

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Verify
run: |
go test ./...
go vet ./...
- name: Compile Windows tunnel tests
run: GOOS=windows GOARCH=amd64 go test -c ./internal/tunnel -o /tmp/klink-tunnel-windows.test.exe
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser
version: "~> v2"
args: release --clean
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}