File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4949
5050 - name : Generate common-nix.vars.pkr.hcl
5151 run : |
52- PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
52+ PG_VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
5353 PG_VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
5454 echo 'postgres-version = "'$PG_VERSION'"' > common-nix.vars.pkr.hcl
5555 # Ensure there's a newline at the end of the file
6262 - name : Generate args
6363 id : args
6464 run : |
65- ARGS=$(nix run nixpkgs#yq -- 'to_entries | map(select(.value|type == "!!str")) | map(.key + "=" + .value) | join("\n")' ansible/vars.yml)
65+ ARGS=$(sudo nix run nixpkgs#yq -- 'to_entries | map(select(.value|type == "!!str")) | map(.key + "=" + .value) | join("\n")' ansible/vars.yml)
6666 echo "result<<EOF" >> $GITHUB_OUTPUT
6767 echo "$ARGS" >> $GITHUB_OUTPUT
6868 echo "EOF" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments