Files
hakurei.app/.gitea/workflows/release.yml
Ophestra baa6520b90
All checks were successful
Static / Flake checks (push) Successful in 29s
Static / Create distribution (push) Successful in 55s
nix: make dist tarball in nix
This is more sound than having to rely on host nix shell.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-15 17:47:00 +09:00

30 lines
596 B
YAML

name: Release
on:
push:
tags:
- '*'
jobs:
release:
name: Create release
runs-on: nix
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Process static files
run: >-
nix build
--print-out-paths
--print-build-logs
--out-link hakurei.app-${{ github.ref_name }}.tar.zst
.#dist
- name: Release
uses: https://gitea.com/actions/release-action@main
with:
files: |-
hakurei.app-**.tar.zst
api_key: '${{secrets.RELEASE_TOKEN}}'