From 5c555dbfe028d7156d0b61b15c412c56a30692b5 Mon Sep 17 00:00:00 2001 From: Guy Davenport Date: Tue, 12 Nov 2024 14:49:22 +1300 Subject: [PATCH] added working directory to action --- .github/workflows/generate-schema.yml | 3 ++- generator/README.md | 11 +---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/generate-schema.yml b/.github/workflows/generate-schema.yml index dff67870..bcc173b7 100644 --- a/.github/workflows/generate-schema.yml +++ b/.github/workflows/generate-schema.yml @@ -17,4 +17,5 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Build with Gradle Wrapper - run: ./generator/gradlew validate + working-directory: ./generator/ + run: ./gradlew validate diff --git a/generator/README.md b/generator/README.md index 9ec3ea71..da8707de 100644 --- a/generator/README.md +++ b/generator/README.md @@ -7,17 +7,8 @@ The files are generated in the Specification/Generated directory. ### How to use To generate all use the following - - * In windows - - ```powershell - ./gradlew generateAll ``` - - * In Linux or macOS - - ```shell - ./gradle generateAll + ./gradlew generateAll ``` For individual tasks try