Skip to content

Commit

Permalink
add curl install
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenvandeweyer committed Dec 15, 2024
1 parent acdb952 commit 239776e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/node-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ jobs:
fi
if [ "${{ inputs.test-typesense-enabled }}" == "true" ]; then
echo "typesense-image=${{ inputs.test-typesense-image }}" >> "$GITHUB_OUTPUT"
echo "typesense-health=curl http://127.0.0.1:8108/health" >> "$GITHUB_OUTPUT"
echo "typesense-health=apt-get update && \
apt-get install -y curl && \
curl http://127.0.0.1:8108/health" >> "$GITHUB_OUTPUT"
else
echo "typesense-image=nginx:stable-alpine-slim" >> "$GITHUB_OUTPUT"
echo "typesense-health=exit 0" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 239776e

Please sign in to comment.