gitea update
Update Nix binary cache / Build every host and publish new cache objects (push) Failing after 25s
Bootstrap Nix binary cache / Build every host and bootstrap the cache (push) Waiting to run

This commit is contained in:
2026-07-14 21:19:31 +09:00
parent 0d2aaa8569
commit 04622b921f
4 changed files with 67 additions and 13 deletions
+10
View File
@@ -19,6 +19,16 @@ jobs:
extra_nix_config: |
experimental-features = nix-command flakes
accept-flake-config = true
- name: Prepare unsandboxed Nix builds
run: |
set -euo pipefail
if [[ -e /homeless-shelter ]]; then
if ((EUID == 0)); then
rm -rf --one-file-system -- /homeless-shelter
else
sudo -n rm -rf --one-file-system -- /homeless-shelter
fi
fi
- name: Build and publish the initial cache
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}