1919 uses : cachix/install-nix-action@v12
2020 with :
2121 nix_path : nixpkgs=channel:nixpkgs-unstable
22+ - name : Cachix setup
23+ uses : cachix/cachix-action@v8
24+ with :
25+ # Name of a cachix cache to pull/substitute
26+ name : math-comp
27+ extraPullNames :
28+ - coq
29+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
2230 - name : Cache Nix Store
23312432 id : cache-nix
3745 - name : Build
3846 run : nix-build --arg ci true --arg ci-step 0
3947 - name : Compute Closure
40- run : nix path-info -r | tee closure.txt
48+ run : nix-build --arg ci true --arg ci-step 0 | xargs nix path-info -r | tee closure.txt
4149 - name : Export Nix Store
4250 run : xargs --arg-file=closure.txt nix-store --export > nix-store.nar
4351
5058 uses : cachix/install-nix-action@v12
5159 with :
5260 nix_path : nixpkgs=channel:nixpkgs-unstable
61+ - name : Cachix setup
62+ uses : cachix/cachix-action@v8
63+ with :
64+ # Name of a cachix cache to pull/substitute
65+ name : math-comp
66+ extraPullNames :
67+ - coq
68+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
5369 - name : Cache Nix Store
54705571 id : cache-nix
6884 - name : Build
6985 run : nix-build --arg ci true --arg ci-step 1
7086 - name : Compute Closure
71- run : nix path-info -r | tee closure.txt
87+ run : nix-build --arg ci true --arg ci-step 1 | xargs nix path-info -r | tee closure.txt
7288 - name : Export Nix Store
7389 run : xargs --arg-file=closure.txt nix-store --export > nix-store.nar
7490
8197 uses : cachix/install-nix-action@v12
8298 with :
8399 nix_path : nixpkgs=channel:nixpkgs-unstable
100+ - name : Cachix setup
101+ uses : cachix/cachix-action@v8
102+ with :
103+ # Name of a cachix cache to pull/substitute
104+ name : math-comp
105+ extraPullNames :
106+ - coq
107+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
84108 - name : Cache Nix Store
8510986110 id : cache-nix
97121 with :
98122 fetch-depth : 0
99123 - name : Build
100- run : nix-build --arg ci true --arg ci-step 1
124+ run : nix-build --arg ci true --arg ci-step 2
101125 - name : Compute Closure
102- run : nix path-info -r | tee closure.txt
126+ run : nix-build --arg ci true --arg ci-step 2 | xargs nix path-info -r | tee closure.txt
103127 - name : Export Nix Store
104128 run : xargs --arg-file=closure.txt nix-store --export > nix-store.nar
0 commit comments