Skip to content

Commit

Permalink
[TASK] Updated workflow for graphQL schema
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisBurger committed Mar 7, 2024
1 parent 9a5f6dd commit 3a52227
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Gradle
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
Expand All @@ -35,4 +35,9 @@ jobs:
- name: Build with Gradle
run: ./gradlew build -Dquarkus.package.type=uber-jar
- name: Start application
run: nohub ./gradlew --console=plain quarkusDev &
run: |
nohup ./gradlew --console=plain quarkusDev &
for attempt in {1..20}; do sleep 1; if curl http://localhost:8080/; then echo ready; break; fi; echo waiting...; done
- name: Get graphQL schema
run: curl http://localhost:8080/graphql/schema.graphql >> web/schema.graphql

0 comments on commit 3a52227

Please sign in to comment.