6 Commits

Author SHA1 Message Date
788c8712ba Add gitea URLs
All checks were successful
Release / release (push) Successful in 4m53s
2026-03-26 17:30:21 +01:00
6a81ba8a5c Fix syntax
Some checks failed
Release / release (push) Failing after 4m42s
2026-03-26 17:24:13 +01:00
98d3388884 Trigger action on tags 2026-03-26 17:23:04 +01:00
61c18ea964 Might be v3 from gitea
Some checks failed
Release / release (push) Failing after 29s
2026-03-26 17:21:11 +01:00
8e324c0bd2 Try the up-to-date setup-go
Some checks failed
Release / release (push) Has been cancelled
2026-03-26 17:17:35 +01:00
b12edf764f Add goreleaser and gitea-actions config
Some checks failed
Release / release (push) Has been cancelled
2026-03-26 17:08:51 +01:00
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
name: Release
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: stable
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: "release --clean"
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}

1
.gitignore vendored
View File

@@ -1 +1,2 @@
ward ward
dist/

13
.goreleaser.yaml Normal file
View File

@@ -0,0 +1,13 @@
version: 2
builds:
- goarch:
- amd64
- arm64
archives:
- formats: binary
gitea_urls:
api: https://git.shee.sh/api/v1
download: https://git.shee.sh