From 01a2cdd77e6552f5f5d0178d2f80cbcdaac1b52a Mon Sep 17 00:00:00 2001 From: kwokhe Date: Wed, 9 Oct 2024 15:33:46 +0200 Subject: [PATCH 1/2] Update README: No models/services are generated when running ./gradlew services for P&FS - Legacy VIAS API Do not run pipeline when README/LICENSE has changed --- .github/workflows/gradle.yml | 4 ++++ .gitignore | 5 +++++ README.md | 9 ++++++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index be49b36..e2bedf8 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -4,6 +4,10 @@ on: workflow_dispatch: push: branches: [ "main" ] + paths-ignore: + - '**/README.md' + - README.md + - LICENSE permissions: contents: read diff --git a/.gitignore b/.gitignore index aedde1b..b276636 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ +**/.DS_Store + +# IntelliJ +.idea + # Ignore Gradle project-specific cache directory .gradle diff --git a/README.md b/README.md index 65b5847..7f1f49d 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,19 @@ This is a set of Gradle build scripts to generate code for `Adyen/adyen-*-api-library` repositories. -To generate all services in all libraries: +To generate all services (see [`adyen.sdk-automation-conventions.gradle`](/buildSrc/src/main/groovy/adyen.sdk-automation-conventions.gradle)) in all libraries: + +> *Note:* The following models/services are not generated for Platform & Financial Services (legacy VIAS): +> * AccountAPI +> * FundAPI +> * Classic Platforms - Notifications ``` ./gradlew services ``` + + For a single specific service: ``` From 4ca791db5dcd966e6f197f2d71dd0b37f4682df4 Mon Sep 17 00:00:00 2001 From: kwokhe Date: Wed, 9 Oct 2024 17:04:57 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7f1f49d..a859af6 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,12 @@ This is a set of Gradle build scripts to generate code for `Adyen/adyen-*-api-library` repositories. -To generate all services (see [`adyen.sdk-automation-conventions.gradle`](/buildSrc/src/main/groovy/adyen.sdk-automation-conventions.gradle)) in all libraries: - -> *Note:* The following models/services are not generated for Platform & Financial Services (legacy VIAS): -> * AccountAPI -> * FundAPI -> * Classic Platforms - Notifications +To generate all services in all libraries, run: ``` ./gradlew services ``` - +*Note:* Ensure that the service is in the following list: [`adyen.sdk-automation-conventions.gradle`](/buildSrc/src/main/groovy/adyen.sdk-automation-conventions.gradle). For a single specific service: