Added a toolcache to all action, hopefully it works
All checks were successful
Check config / build (push) Successful in 9m45s
All checks were successful
Check config / build (push) Successful in 9m45s
This commit is contained in:
parent
e53c367ab5
commit
a2774bd3f8
@ -7,6 +7,8 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@ -10,14 +10,16 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
steps:
|
||||
- name: Install nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
- name: Check flake
|
||||
run : nix flake check
|
||||
run: nix flake check
|
||||
|
||||
@ -8,6 +8,8 @@ on:
|
||||
jobs:
|
||||
bump:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
|
||||
steps:
|
||||
- name: Install nix
|
||||
@ -21,6 +23,6 @@ jobs:
|
||||
|
||||
- name: Build bumped flake (only one host)
|
||||
run: nix build .\#nixosConfigurations.FW16.config.system.build.toplevel
|
||||
|
||||
|
||||
- name: Check bumped flake
|
||||
run: nix flake check
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user