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 5656 - name : Run checks if triggered manually
5757 if : ${{ github.event_name == 'workflow_dispatch' }}
5858 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/')
6060 if [[ -z $SUFFIX ]] ; then
6161 echo "Version must include non-numeric characters if built manually."
6262 exit 1
6767
6868 - name : Generate common-nix.vars.pkr.hcl
6969 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)
7171 echo "postgres-version = \"$PG_VERSION\"" > common-nix.vars.pkr.hcl
7272
7373 - name : Build AMI stage 1
You can’t perform that action at this time.
0 commit comments