Skip to content

Commit

Permalink
Fix MacOSx build issues
Browse files Browse the repository at this point in the history
The upload script needs access to the "psql" binary with its proper
path. Fix that.
  • Loading branch information
nikkhils committed Dec 15, 2023
1 parent 9a4eb12 commit 9874350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/linux-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,6 @@ jobs:
GITHUB_PR_NUMBER=0
fi
export GITHUB_PR_NUMBER
PSQL="${HOME}/${PG_INSTALL_DIR}/bin/psql"
export PSQL
scripts/upload_ci_stats.sh
3 changes: 2 additions & 1 deletion scripts/upload_ci_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ then
exit 0
fi

PSQL=(psql "${CI_STATS_DB}" -qtAX "--set=ON_ERROR_STOP=1")
PSQL=${PSQL:-psql}
PSQL=("${PSQL}" "${CI_STATS_DB}" -qtAX "--set=ON_ERROR_STOP=1")

# The tables we are going to use. This schema is here just as a reminder, you'll
# have to create them manually. After you manually change the actual DB schema,
Expand Down

0 comments on commit 9874350

Please sign in to comment.