We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 521a974 commit 4b77682Copy full SHA for 4b77682
.github/workflows/nix-build.yml
@@ -46,14 +46,14 @@ jobs:
46
- name: Setup cache script
47
if: ${{ github.secret_source == 'Actions' }}
48
run: |
49
- mkdir -p /etc/nix
+ sudo mkdir -p /etc/nix
50
cat << 'EOF' | sudo tee /etc/nix/upload-to-cache.sh > /dev/null
51
#!/usr/bin/env bash
52
set -eouf
53
export IFS=' '
54
echo /nix/var/nix/profiles/default/bin/nix copy --to 's3://nix-postgres-artifacts?secret-key=nix-secret-key' \$OUT_PATHS
55
EOF
56
- chmod +x /etc/nix/upload-to-cache.sh
+ sudo chmod +x /etc/nix/upload-to-cache.sh
57
- name: Install nix
58
uses: DeterminateSystems/nix-installer-action@main
59
0 commit comments