For the upcoming rename of security org to rosa. Signed-off-by: Ophestra <cat@gensokyo.uk>
30 lines
603 B
YAML
30 lines
603 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}}'
|