From 876867825b9ec2de35249cc8985ac4f96d13c431 Mon Sep 17 00:00:00 2001 From: Davide Cappellini Date: Sun, 22 Nov 2026 16:47:13 +0100 Subject: [PATCH] ci: run on the nixos host runner --- .gitea/workflows/release.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index c876818..9ae7ca3 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -1,27 +1,16 @@ -# Gitea Actions, triggered only by pushed v* tags (the runner is slow): tests, then release. Every job runs in a pinned nixos/nix container with plain shell steps only: -# the runner image has no Node, so JavaScript actions (actions/checkout, ...) cannot run. -# Tooling comes from devbox (nix run nixpkgs#devbox), which honours devbox.lock like local runs. +# Gitea Actions, triggered only by pushed v* tags (the runner is slow): tests, then release. +# Runs on the NixOS host runner (label `nixos`, host mode) with plain shell steps only. +# Tooling comes from the host's devbox, which honours devbox.lock like local runs. # Release upload goes through the Gitea REST API with the built-in job token. name: ci on: push: tags: ["v*"] -env: - NIX_CONFIG: | - experimental-features = nix-command flakes - sandbox = false - filter-syscalls = false - jobs: release: - runs-on: ubuntu-latest - container: nixos/nix:2.36.0 + runs-on: nixos steps: - - name: Prepare tools - run: | - set -euo pipefail - nix profile install nixpkgs#git nixpkgs#curl nixpkgs#devbox - name: Checkout run: | set -euo pipefail