release: 0.0.0
All checks were successful
Static / Flake checks (push) Successful in 21s
Static / Create distribution (push) Successful in 55s
Release / Create release (push) Successful in 1m7s

This commit is contained in:
2025-06-27 20:48:06 +09:00
parent 394bf00ce1
commit 04cd9b5160
3 changed files with 34 additions and 8 deletions

View File

@@ -0,0 +1,26 @@
name: Release
on:
push:
tags:
- 'v*'
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}}'