aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitea/workflows/release.yml
blob: 134d8bd1932ce4df251dfe0add328318eedcb875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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}}'