supabase-postgres.git / summary / log / commit / refs

commit    ea6aa74e43a9da0032626361535e5aa3cd698bda
Author:   Márton Boros <martonboros@gmail.com>
Commit:   GitHub <noreply@github.com>
Date:     Mon Sep 07 23:07:48 2026 +0000

    ci: fix yq not found in manual QEMU build dispatch (#2427)
    
    * ci: use nix yq in manual-dispatch version check
    
    Bare yq isn't on PATH on this runner.
    
    * ci: move manual-dispatch version check after Nix install
    
    nix run nixpkgs#yq needs nix on PATH, which Install Nix provides.


.github/workflows/qemu-image-build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/qemu-image-build.yml b/.github/workflows/qemu-image-build.yml index 8c1acdd8..d5481ee6 100644 --- a/.github/workflows/qemu-image-build.yml +++ b/.github/workflows/qemu-image-build.yml @@ -45,15 +45,6 @@ jobs: - name: Checkout Repo uses: supabase/postgres/.github/actions/shared-checkout@HEAD - - name: Run checks if triggered manually - if: ${{ github.event_name == 'workflow_dispatch' }} - run: | - SUFFIX=$(yq ".postgres_release[\"postgres${{ matrix.postgres_version }}\"]" ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/') - if [[ -z $SUFFIX ]] ; then - echo "Version must include non-numeric characters if built manually." - exit 1 - fi - - name: enable KVM support run: | sudo chown runner /dev/kvm @@ -67,6 +58,15 @@ jobs: - name: Install Nix uses: ./.github/actions/nix-install-ephemeral + - name: Run checks if triggered manually + if: ${{ github.event_name == 'workflow_dispatch' }} + run: | + SUFFIX=$(nix run nixpkgs#yq -- ".postgres_release[\"postgres${{ matrix.postgres_version }}\"]" ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/') + if [[ -z $SUFFIX ]] ; then + echo "Version must include non-numeric characters if built manually." + exit 1 + fi + - name: Resolve git sha id: resolve-git-sha uses: ./.github/actions/resolve-git-sha