CI: add binary cache
This commit is contained in:
parent
e8f89aff3c
commit
3f4b573ab9
1 changed files with 7 additions and 0 deletions
7
.github/workflows/CI.yml
vendored
7
.github/workflows/CI.yml
vendored
|
|
@ -15,6 +15,13 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- name: "Install Nix"
|
||||
uses: cachix/install-nix-action@v17
|
||||
- name: "Set Up Binary Cache"
|
||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
|
||||
uses: cachix/cachix-action@v10
|
||||
with:
|
||||
name: t2linux
|
||||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||
pushFilter: "x86_64-linux.iso$"
|
||||
- name: Build
|
||||
run: |
|
||||
for iso in $(nix flake show --json | nix run nixpkgs#jq -- -r keys[]); do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue