diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-20 01:23:45 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-20 01:24:23 +0900 |
| commit | a7d3a66b0eda9a3bff93df9cd5521ed5c1c0f029 (patch) | |
| tree | 77d5c0168ff4848b898d08041ad62e16b086ef6f | |
| parent | e3d8dfe841f928a7578ebb6333aa1074d52ced7d (diff) | |
This prepares for the eventual decommissioning of the legacy NixOS gitea
actions runner.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | .gitea/workflows/release.yml | 7 | ||||
| -rw-r--r-- | .gitea/workflows/static.yml | 10 |
2 files changed, 13 insertions, 4 deletions
diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f6e31095..38a9330b 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -8,11 +8,14 @@ on: jobs: release: name: Create release - runs-on: nix + runs-on: rosa steps: - name: Checkout uses: actions/checkout@v4 + - name: Install nix + uses: cachix/install-nix-action@v31 + - name: Process static files run: >- nix build \ @@ -26,4 +29,4 @@ jobs: with: files: |- hakurei.app-**.tar.zst - api_key: '${{secrets.RELEASE_TOKEN}}' + api_key: '${{ github.token }}' diff --git a/.gitea/workflows/static.yml b/.gitea/workflows/static.yml index ecab9d63..721223cc 100644 --- a/.gitea/workflows/static.yml +++ b/.gitea/workflows/static.yml @@ -7,21 +7,27 @@ on: jobs: check: name: Flake checks - runs-on: nix + runs-on: rosa steps: - name: Checkout uses: actions/checkout@v4 + - name: Install nix + uses: cachix/install-nix-action@v31 + - name: Run checks run: nix --print-build-logs --experimental-features 'nix-command flakes' flake check dist: name: Create distribution - runs-on: nix + runs-on: rosa steps: - name: Checkout uses: actions/checkout@v4 + - name: Install nix + uses: cachix/install-nix-action@v31 + - name: Process static files id: static-test run: >- |
