We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e46b6c8 commit 87afdb9Copy full SHA for 87afdb9
.github/workflows/ami-release-nix-single.yml
@@ -47,7 +47,7 @@ jobs:
47
48
- name: Generate common-nix.vars.pkr.hcl
49
run: |
50
- PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'${{ env.POSTGRES_MAJOR_VERSION }}'"]' ansible/vars.yml)
+ PG_VERSION=$(nix run nixpkgs#yq-go -- '.postgres_release["postgres'${{ env.POSTGRES_MAJOR_VERSION }}'"]' ansible/vars.yml)
51
PG_VERSION=$(echo "$PG_VERSION" | tr -d '"') # Remove any surrounding quotes
52
echo 'postgres-version = "'$PG_VERSION'"' > common-nix.vars.pkr.hcl
53
# Ensure there's a newline at the end of the file
0 commit comments