chore: cache build and runtime dependencies
This commit is contained in:
parent
b665ba30d0
commit
1e1e4d1cc9
1 changed files with 7 additions and 7 deletions
|
@ -22,19 +22,19 @@ jobs:
|
||||||
- name: Build attic-server
|
- name: Build attic-server
|
||||||
run: |
|
run: |
|
||||||
nix build '.#nixosConfigurations.tanker.pkgs.attic-server'
|
nix build '.#nixosConfigurations.tanker.pkgs.attic-server'
|
||||||
attic push ${{ secrets.ATTIC_CACHE }} ./result
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||||
- name: Build attic-client
|
- name: Build attic-client
|
||||||
run: |
|
run: |
|
||||||
nix build '.#nixosConfigurations.tanker.pkgs.attic-client'
|
nix build '.#nixosConfigurations.tanker.pkgs.attic-client'
|
||||||
attic push ${{ secrets.ATTIC_CACHE }} ./result
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||||
- name: Build nginx
|
- name: Build nginx
|
||||||
run: |
|
run: |
|
||||||
nix build '.#nixosConfigurations.tanker.config.services.nginx.package'
|
nix build '.#nixosConfigurations.tanker.config.services.nginx.package'
|
||||||
attic push ${{ secrets.ATTIC_CACHE }} ./result
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||||
- name: Build neovim
|
- name: Build neovim
|
||||||
run: |
|
run: |
|
||||||
nix build '.#nixosConfigurations.tanker.config.home-manager.users.daniel.programs.neovim.finalPackage'
|
nix build '.#nixosConfigurations.tanker.config.home-manager.users.daniel.programs.neovim.finalPackage'
|
||||||
attic push ${{ secrets.ATTIC_CACHE }} ./result
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||||
build-arm64-linux:
|
build-arm64-linux:
|
||||||
runs-on: nix-arm64
|
runs-on: nix-arm64
|
||||||
steps:
|
steps:
|
||||||
|
@ -48,12 +48,12 @@ jobs:
|
||||||
- name: Build attic-client
|
- name: Build attic-client
|
||||||
run: |
|
run: |
|
||||||
nix build '.#nixosConfigurations.argon.pkgs.attic-client'
|
nix build '.#nixosConfigurations.argon.pkgs.attic-client'
|
||||||
attic push ${{ secrets.ATTIC_CACHE }} ./result
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||||
- name: Build nginx
|
- name: Build nginx
|
||||||
run: |
|
run: |
|
||||||
nix build '.#nixosConfigurations.argon.config.services.nginx.package'
|
nix build '.#nixosConfigurations.argon.config.services.nginx.package'
|
||||||
attic push ${{ secrets.ATTIC_CACHE }} ./result
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||||
- name: Build neovim
|
- name: Build neovim
|
||||||
run: |
|
run: |
|
||||||
nix build '.#nixosConfigurations.argon.config.home-manager.users.daniel.programs.neovim.finalPackage'
|
nix build '.#nixosConfigurations.argon.config.home-manager.users.daniel.programs.neovim.finalPackage'
|
||||||
attic push ${{ secrets.ATTIC_CACHE }} ./result
|
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
|
||||||
|
|
Loading…
Reference in a new issue