aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitea/workflows/release.yml
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-09-28 17:37:30 +0900
committerOphestra <cat@gensokyo.uk>2026-09-28 17:37:30 +0900
commitd2afde1c95355621282d1ac1a9ae73c3b665b395 (patch)
tree910f2dff6a1e86491840357bf150df5ad685a37e /.gitea/workflows/release.yml
parentd621c53cc1ad96adb36612e6143691dd0c79362b (diff)
internal/workflows: migrate workflows
This represents workflow documents via compound literals and removes the ugly and footgun-heavy yaml documents. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to '.gitea/workflows/release.yml')
-rw-r--r--.gitea/workflows/release.yml25
1 files changed, 1 insertions, 24 deletions
diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml
index 134d8bd1..d4eb0de8 100644
--- a/.gitea/workflows/release.yml
+++ b/.gitea/workflows/release.yml
@@ -1,24 +1 @@
-name: Release
-
-on:
- push:
- tags:
- - 'v*'
-
-jobs:
- release:
- name: Create release
- runs-on: nix
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Build for release
- run: nix build --print-out-paths --print-build-logs ./test#dist
-
- - name: Release
- uses: https://gitea.com/actions/release-action@main
- with:
- files: |-
- result/hakurei-**
- api_key: '${{secrets.RELEASE_TOKEN}}'
+{"name":"Release","on":[{"K":"push","V":[{"K":"tags","V":"v*"}]}],"jobs":{"release":{"name":"Create release","runs-on":"nix","steps":[{"name":"Checkout","uses":"actions/checkout@v4"},{"name":"Build for release","run":"nix build --print-out-paths --print-build-logs ./test#dist"},{"name":"Release","uses":"https://gitea.com/actions/release-action@main","with":{"files":"result/hakurei-**","api_key":"${{secrets.RELEASE_TOKEN}}"}}]}}}