A fork of attic a self-hostable Nix Binary Cache server
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

.github: Fix CI cache push condition

$ATTIC_TOKEN is not available after setup.

+2 -2
+2 -2
.github/workflows/build.yml
··· 67 67 - name: Push build artifacts 68 68 run: | 69 69 export PATH=$HOME/.nix-profile/bin:$PATH # FIXME 70 - if [ -n "$ATTIC_TOKEN" ]; then 70 + if [ -n "$ATTIC_CACHE" ]; then 71 71 nix build --no-link --print-out-paths -L \ 72 72 .#internalMatrix."$system".\"${{ matrix.nix }}\".attic-tests \ 73 73 .#internalMatrix."$system".\"${{ matrix.nix }}\".cargoArtifacts \ ··· 152 152 - name: Push build artifacts 153 153 run: | 154 154 export PATH=$HOME/.nix-profile/bin:$PATH # FIXME 155 - if [ -n "$ATTIC_TOKEN" ]; then 155 + if [ -n "$ATTIC_CACHE" ]; then 156 156 nix build --no-link --print-out-paths -L \ 157 157 .#attic-server-image \ 158 158 .#attic-server-image-aarch64 \