Skip to content

Commit 50b4b67

Browse files
committed
chore: shell vars
1 parent 5aa2981 commit 50b4b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ami-release-nix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Run checks if triggered manually
5757
if: ${{ github.event_name == 'workflow_dispatch' }}
5858
run: |
59-
SUFFIX=$(nix run nixpkgs#yq -- '.postgres_release["postgres${{ matrix.postgres_version }}"]' ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
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/')
6060
if [[ -z $SUFFIX ]] ; then
6161
echo "Version must include non-numeric characters if built manually."
6262
exit 1

0 commit comments

Comments
 (0)