Reinstroduced caching again...
All checks were successful
Nix Web Proxy Worker / setup-nixos-runner (push) Successful in 6m33s

This commit is contained in:
2025-12-22 23:46:30 +01:00
parent c590260974
commit 8ae96aed1e

View File

@@ -16,5 +16,21 @@ jobs:
- name: Ensure known host name - name: Ensure known host name
run: ssh-keyscan ${{ vars.WEB_PROXY_IP }} >> ~/.ssh/known_hosts run: ssh-keyscan ${{ vars.WEB_PROXY_IP }} >> ~/.ssh/known_hosts
- name: Restore cached Nix Store
id: cached-nix-store
uses: actions/cache/restore@v4
with:
path: |
/nix
key: ${{ runner.os }}-nix
- name: Apply Nix build to Web Proxy host - name: Apply Nix build to Web Proxy host
run: nix-shell shell.nix --run "nixos-rebuild switch --no-flake --target-host ${{ vars.WEB_PROXY_TARGET_HOST }}" run: nix-shell shell.nix --run "nixos-rebuild switch --no-flake --target-host ${{ vars.WEB_PROXY_TARGET_HOST }}"
- name: Save Primes
id: cache-primes-save
uses: actions/cache/save@v4
with:
path: |
/nix
key: ${{ steps.cached-nix-store.outputs.cache-key-primary-key }}