From a7d3a66b0eda9a3bff93df9cd5521ed5c1c0f029 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 20 Oct 2026 01:23:45 +0900 Subject: workflows: use Rosa OS runner This prepares for the eventual decommissioning of the legacy NixOS gitea actions runner. Signed-off-by: Ophestra --- .gitea/workflows/release.yml | 7 +++++-- .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: >- -- cgit v1.3.1