Files
hakurei.app/.gitea/workflows/release.yml
Ophestra 3a159f0617
Some checks failed
Static / Flake checks (push) Successful in 30s
Static / Create distribution (push) Successful in 57s
Release / Create release (push) Failing after 3m43s
release: 20260315
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-15 17:25:21 +09:00

27 lines
634 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 .#hakurei-static &&
nix shell nixpkgs#gnutar nixpkgs#zstd --command tar -C result --zstd -cf hakurei.app-${{ github.ref_name }}.tar.zst .
- name: Release
uses: https://gitea.com/actions/release-action@main
with:
files: |-
hakurei.app-**.tar.zst
api_key: '${{secrets.RELEASE_TOKEN}}'