File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,10 @@ jobs:
26
26
- name : Checkout Repo
27
27
uses : supabase/postgres/.github/actions/shared-checkout@HEAD
28
28
29
- - uses : DeterminateSystems/nix-installer-action@main
30
-
31
29
- name : Set PostgreSQL versions - only builds pg17 atm
32
30
id : set-versions
33
31
run : |
34
- VERSIONS=$(nix run nixpkgs# yq -- '.postgres_major[1]' ansible/vars.yml | nix run nixpkgs#jq -- -R -s -c 'split("\n")[:-1]')
32
+ VERSIONS=$(yq '.postgres_major[1]' ansible/vars.yml | jq -R -s -c 'split("\n")[:-1]')
35
33
echo "postgres_versions=$VERSIONS" >> $GITHUB_OUTPUT
36
34
37
35
build :
55
53
- name : Run checks if triggered manually
56
54
if : ${{ github.event_name == 'workflow_dispatch' }}
57
55
run : |
58
- SUFFIX=$(sudo nix run nixpkgs#yq -- ".postgres_release[\"postgres${{ matrix.postgres_version }}\"]" ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
56
+ SUFFIX=$(yq ".postgres_release[\"postgres${{ matrix.postgres_version }}\"]" ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
59
57
if [[ -z $SUFFIX ]] ; then
60
58
echo "Version must include non-numeric characters if built manually."
61
59
exit 1
@@ -153,7 +151,7 @@ jobs:
153
151
SLACK_COLOR : ' danger'
154
152
SLACK_MESSAGE : ' Building Postgres QEMU artifact failed'
155
153
SLACK_FOOTER : ' '
156
- b
154
+
157
155
- name : Cleanup resources after build
158
156
if : ${{ always() }}
159
157
run : |
You can’t perform that action at this time.
0 commit comments