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 56
56
- name : Run checks if triggered manually
57
57
if : ${{ github.event_name == 'workflow_dispatch' }}
58
58
run : |
59
- SUFFIX=$(. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix run nixpkgs#yq -- '.postgres_release["postgres${{ matrix.postgres_version }}"]' ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
59
+ SUFFIX=$(sudo -i nix run nixpkgs#yq -- '.postgres_release["postgres${{ matrix.postgres_version }}"]' ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
60
60
if [[ -z $SUFFIX ]] ; then
61
61
echo "Version must include non-numeric characters if built manually."
62
62
exit 1
67
67
68
68
- name : Generate common-nix.vars.pkr.hcl
69
69
run : |
70
- PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres${{ matrix.postgres_version }}"]' ansible/vars.yml)
70
+ PG_VERSION=$(sudo -i nix run nixpkgs#yq -- '.postgres_release["postgres${{ matrix.postgres_version }}"]' ansible/vars.yml)
71
71
echo "postgres-version = \"$PG_VERSION\"" > common-nix.vars.pkr.hcl
72
72
73
73
- name : Build AMI stage 1
You can’t perform that action at this time.
0 commit comments