@@ -62,21 +62,36 @@ jobs:
62
62
/nix/var/nix/profiles/default/bin/nix copy --to 's3://nix-postgres-artifacts?secret-key=/etc/nix/nix-secret-key' $OUT_PATHS
63
63
EOF
64
64
sudo chmod +x /etc/nix/upload-to-cache.sh
65
+ # - name: Install nix
66
+ # uses: DeterminateSystems/nix-installer-action@main
67
+ # if: ${{ github.secret_source == 'Actions' }}
68
+ # with:
69
+ # extra-conf: |
70
+ # substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
71
+ # trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
72
+ # post-build-hook = /etc/nix/upload-to-cache.sh
73
+ # - name: Install nix
74
+ # uses: DeterminateSystems/nix-installer-action@main
75
+ # if: ${{ github.secret_source == 'None' }}
76
+ # with:
77
+ # extra-conf: |
78
+ # substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
79
+ # trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
65
80
- name : Install nix
66
- uses : DeterminateSystems/ nix-installer- action@main
81
+ uses : cachix/install- nix-action@v27
67
82
if : ${{ github.secret_source == 'Actions' }}
68
83
with :
69
- nix_version : 2.24.9
70
- extra-conf : |
84
+ install_url : https://releases.nixos.org/nix/nix- 2.24.9/install
85
+ extra_nix_config : |
71
86
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
72
87
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
73
88
post-build-hook = /etc/nix/upload-to-cache.sh
74
89
- name : Install nix
75
- uses : DeterminateSystems/ nix-installer- action@main
90
+ uses : cachix/install- nix-action@v27
76
91
if : ${{ github.secret_source == 'None' }}
77
92
with :
78
- nix_version : 2.24.9
79
- extra-conf : |
93
+ install_url : https://releases.nixos.org/nix/nix- 2.24.9/install
94
+ extra_nix_config : |
80
95
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
81
96
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
82
97
- name : Aggressive disk cleanup for DuckDB build
0 commit comments