File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 2121 steps :
2222 - name : Checkout Repo
2323 uses : actions/checkout@v3
24-
24+
2525 - uses : DeterminateSystems/nix-installer-action@main
2626
2727 - name : Set PostgreSQL versions - only builds pg15 atm
5454 - name : Checkout Repo
5555 uses : actions/checkout@v3
5656
57+ - name : Get binaries
58+ run : |
59+ hash
60+ echo $PATH
61+
5762 - uses : DeterminateSystems/nix-installer-action@main
5863
5964 # TODO (darora): might need to temporarily disable this
@@ -66,11 +71,17 @@ jobs:
6671 exit 1
6772 fi
6873
74+ - name : Get binaries
75+ run : |
76+ hash
77+ echo $PATH
78+
6979 - name : Set PostgreSQL version environment variable
7080 run : echo "POSTGRES_MAJOR_VERSION=${{ matrix.postgres_version }}" >> $GITHUB_ENV
7181
7282 - name : Generate common-nix.vars.pkr.hcl
7383 run : |
84+ . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
7485 PG_VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
7586 PG_VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
7687 echo 'postgres-version = "'$PG_VERSION'"' > common-nix.vars.pkr.hcl
7990 # Ensure there's a newline at the end of the file
8091 echo "" >> common-nix.vars.pkr.hcl
8192
82- - name : Get binaries
83- run : |
84- hash
85-
8693 - name : Build QEMU artifact
8794 run : |
8895 make init
You can’t perform that action at this time.
0 commit comments