Skip to content

Commit f27cb34

Browse files
committed
.
1 parent ee0a52a commit f27cb34

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/qemu-image-build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ jobs:
2727
- name: Checkout Repo
2828
uses: supabase/postgres/.github/actions/shared-checkout@HEAD
2929

30-
- uses: DeterminateSystems/nix-installer-action@main
31-
3230
- name: Set PostgreSQL versions - only builds pg17 atm
3331
id: set-versions
3432
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]')
3634
echo "postgres_versions=$VERSIONS" >> $GITHUB_OUTPUT
3735
3836
build:
@@ -56,7 +54,7 @@ jobs:
5654
- name: Run checks if triggered manually
5755
if: ${{ github.event_name == 'workflow_dispatch' }}
5856
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/')
6058
if [[ -z $SUFFIX ]] ; then
6159
echo "Version must include non-numeric characters if built manually."
6260
exit 1
@@ -154,7 +152,7 @@ jobs:
154152
SLACK_COLOR: 'danger'
155153
SLACK_MESSAGE: 'Building Postgres QEMU artifact failed'
156154
SLACK_FOOTER: ''
157-
b
155+
158156
- name: Cleanup resources after build
159157
if: ${{ always() }}
160158
run: |

0 commit comments

Comments
 (0)