From 98b1c7c99237694fa72109c776db0b65b4c87739 Mon Sep 17 00:00:00 2001 From: Syer10 Date: Thu, 28 Mar 2024 21:13:48 -0400 Subject: [PATCH] Use post --- .github/workflows/Scheme.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Scheme.yml b/.github/workflows/Scheme.yml index 0ae77673..81a2bef7 100644 --- a/.github/workflows/Scheme.yml +++ b/.github/workflows/Scheme.yml @@ -38,7 +38,7 @@ jobs: # Capture the PID of the Java process pid=$! - # Wait for 'Server Started' message + # Wait for 'Javalin started' message while true; do if grep -q "Javalin started" <(tail -n 5 output.log); then break @@ -47,7 +47,7 @@ jobs: done # Query the GraphQL endpoint and save the result to a file - curl -s http://localhost:4567/api/graphql > graphql/scheme.graphql + curl -X POST -s http://localhost:4567/api/graphql > graphql/scheme.graphql # Kill the Java process kill $pid