Skip to content

Commit 109b062

Browse files
committed
fix: no need for sudo
1 parent 9770041 commit 109b062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/testinfra-ami-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100

101101
- name: Generate common-nix.vars.pkr.hcl
102102
run: |
103-
PG_VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
103+
PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
104104
PG_VERSION=$(echo "$PG_VERSION" | tr -d '"') # Remove any surrounding quotes
105105
echo 'postgres-version = "'$PG_VERSION'"' > common-nix.vars.pkr.hcl
106106
# Ensure there's a newline at the end of the file

0 commit comments

Comments
 (0)