Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane32 committed Jan 16, 2025
1 parent 1cad418 commit a0fa941
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ jobs:
working-directory: samples/Samples.NativeAot/published
shell: bash
run: |
# Using bash on both Windows and Linux.
if [ "$RUNNER_OS" == "Windows" ]; then
./GraphQL.Server.Samples.NativeAot.exe &
else
Expand All @@ -107,8 +106,7 @@ jobs:
set +e
for i in {1..60}; do
echo "Request $i to the GraphQL endpoint..."
# Replace the URL below with the actual endpoint used by your NativeAOT application.
response=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:5000/graphql || true)
response=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:5000/ || true)
if [ "$response" -eq 200 ]; then
echo "Received 200 response, NativeAOT sample is ready."
exit 0
Expand Down

0 comments on commit a0fa941

Please sign in to comment.