Add gitea build

This commit is contained in:
2026-04-26 17:54:51 +02:00
parent b42218a883
commit 4b1cfadc4d
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
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 mise
uses: jdx/mise-action@v4
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: "release --clean"
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}

View File

@@ -1,4 +1,7 @@
version: 2
before:
hooks:
- cargo install --locked cargo-zigbuild
builds:
- builder: rust
archives:

6
mise.toml Normal file
View File

@@ -0,0 +1,6 @@
[tools]
rust = "stable"
zig = "latest"
[tasks]
build = "cargo build"