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 21
21
steps :
22
22
- name : Checkout Repo
23
23
uses : actions/checkout@v3
24
-
24
+
25
25
- uses : DeterminateSystems/nix-installer-action@main
26
26
27
27
- name : Set PostgreSQL versions - only builds pg15 atm
54
54
- name : Checkout Repo
55
55
uses : actions/checkout@v3
56
56
57
+ - name : Get binaries
58
+ run : |
59
+ hash
60
+ echo $PATH
61
+
57
62
- uses : DeterminateSystems/nix-installer-action@main
58
63
59
64
# TODO (darora): might need to temporarily disable this
@@ -66,11 +71,17 @@ jobs:
66
71
exit 1
67
72
fi
68
73
74
+ - name : Get binaries
75
+ run : |
76
+ hash
77
+ echo $PATH
78
+
69
79
- name : Set PostgreSQL version environment variable
70
80
run : echo "POSTGRES_MAJOR_VERSION=${{ matrix.postgres_version }}" >> $GITHUB_ENV
71
81
72
82
- name : Generate common-nix.vars.pkr.hcl
73
83
run : |
84
+ . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
74
85
PG_VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
75
86
PG_VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
76
87
echo 'postgres-version = "'$PG_VERSION'"' > common-nix.vars.pkr.hcl
79
90
# Ensure there's a newline at the end of the file
80
91
echo "" >> common-nix.vars.pkr.hcl
81
92
82
- - name : Get binaries
83
- run : |
84
- hash
85
-
86
93
- name : Build QEMU artifact
87
94
run : |
88
95
make init
You can’t perform that action at this time.
0 commit comments