fortify/.gitea/workflows/release.yml
Ophestra f545e154f0
All checks were successful
Test / Create distribution (push) Successful in 20s
Test / Run NixOS test (push) Successful in 51s
workflows: use native nix runner
Signed-off-by: Ophestra <cat@gensokyo.uk>
2025-02-15 22:58:04 +09:00

30 lines
578 B
YAML

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
name: Create release
runs-on: nix
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '>=1.23.0'
- name: Build for release
run: nix build --print-out-paths --print-build-logs .#dist
- name: Release
uses: https://gitea.com/actions/release-action@main
with:
files: |-
result/fortify-**
api_key: '${{secrets.RELEASE_TOKEN}}'