1
0
Fork 0
mirror of https://github.com/cachix/cachix-action.git synced 2025-06-09 09:35:10 +09:00

install-nix-action v11

This commit is contained in:
Domen Kožar 2020-09-21 15:17:09 +02:00
parent 8a239571fb
commit de962fa7b2
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246
2 changed files with 5 additions and 5 deletions

View file

@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v2
- run: yarn install --frozen-lockfile
- run: yarn build
- uses: cachix/install-nix-action@v10
- uses: cachix/install-nix-action@v11
- name: Test public cache no signing key
uses: ./
with:
@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v2
- run: yarn install --frozen-lockfile
- run: yarn build
- uses: cachix/install-nix-action@v10
- uses: cachix/install-nix-action@v11
- name: Test private cache
uses: ./
with:
@ -66,11 +66,11 @@ jobs:
- uses: actions/checkout@v2
- run: yarn install --frozen-lockfile
- run: yarn build
- uses: cachix/install-nix-action@v10
- uses: cachix/install-nix-action@v11
- name: Test private cache
uses: ./
with:
name: cachix-action
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
installCommand: 'nix-env -f https://github.com/NixOS/nixpkgs/archive/master.tar.gz -iA cachix'
installCommand: 'nix-env -f https://cachix.org/api/v1/install -iA cachix'
- run: nix-build test.nix

View file

@ -4,7 +4,7 @@
, currentTime ? builtins.currentTime
}:
with import <nixpkgs> {};
with (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/21d8e70a69f704a6ab971b2d8265d40cc7bb69b1.tar.gz") {});
let
drv = i: runCommand "${toString currentTime}-${toString i}" {} ''