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