diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d04c000..c414e69 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,37 +13,37 @@ updates: ignore: - dependency-name: "@types/node" - package-ecosystem: "gradle" - directory: ".github/workflows/samples/gradle-plugin" + directory: ".github/workflow-samples/gradle-plugin" registries: - gradle-plugin-portal schedule: interval: "daily" - package-ecosystem: "gradle" - directory: ".github/workflows/samples/groovy-dsl" + directory: ".github/workflow-samples/groovy-dsl" registries: - gradle-plugin-portal schedule: interval: "daily" - package-ecosystem: "gradle" - directory: ".github/workflows/samples/java-toolchain" + directory: ".github/workflow-samples/java-toolchain" registries: - gradle-plugin-portal schedule: interval: "daily" - package-ecosystem: "gradle" - directory: ".github/workflows/samples/kotlin-dsl" + directory: ".github/workflow-samples/kotlin-dsl" registries: - gradle-plugin-portal schedule: interval: "daily" - package-ecosystem: "gradle" - directory: ".github/workflows/samples/no-wrapper" + directory: ".github/workflow-samples/no-wrapper" registries: - gradle-plugin-portal schedule: interval: "daily" - package-ecosystem: "gradle" - directory: ".github/workflows/samples/no-wrapper-gradle-5" + directory: ".github/workflow-samples/no-wrapper-gradle-5" registries: - gradle-plugin-portal schedule: diff --git a/.github/workflows/samples/.gitignore b/.github/workflow-samples/.gitignore similarity index 100% rename from .github/workflows/samples/.gitignore rename to .github/workflow-samples/.gitignore diff --git a/.github/workflows/samples/gradle-plugin/gradle/wrapper/gradle-wrapper.jar b/.github/workflow-samples/gradle-plugin/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from .github/workflows/samples/gradle-plugin/gradle/wrapper/gradle-wrapper.jar rename to .github/workflow-samples/gradle-plugin/gradle/wrapper/gradle-wrapper.jar diff --git a/.github/workflows/samples/gradle-plugin/gradle/wrapper/gradle-wrapper.properties b/.github/workflow-samples/gradle-plugin/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from .github/workflows/samples/gradle-plugin/gradle/wrapper/gradle-wrapper.properties rename to .github/workflow-samples/gradle-plugin/gradle/wrapper/gradle-wrapper.properties diff --git a/.github/workflows/samples/gradle-plugin/gradlew b/.github/workflow-samples/gradle-plugin/gradlew similarity index 100% rename from .github/workflows/samples/gradle-plugin/gradlew rename to .github/workflow-samples/gradle-plugin/gradlew diff --git a/.github/workflows/samples/gradle-plugin/gradlew.bat b/.github/workflow-samples/gradle-plugin/gradlew.bat similarity index 100% rename from .github/workflows/samples/gradle-plugin/gradlew.bat rename to .github/workflow-samples/gradle-plugin/gradlew.bat diff --git a/.github/workflows/samples/gradle-plugin/plugin/build.gradle b/.github/workflow-samples/gradle-plugin/plugin/build.gradle similarity index 100% rename from .github/workflows/samples/gradle-plugin/plugin/build.gradle rename to .github/workflow-samples/gradle-plugin/plugin/build.gradle diff --git a/.github/workflows/samples/gradle-plugin/plugin/src/functionalTest/java/org/example/gradle/plugin/GradlePluginPluginFunctionalTest.java b/.github/workflow-samples/gradle-plugin/plugin/src/functionalTest/java/org/example/gradle/plugin/GradlePluginPluginFunctionalTest.java similarity index 100% rename from .github/workflows/samples/gradle-plugin/plugin/src/functionalTest/java/org/example/gradle/plugin/GradlePluginPluginFunctionalTest.java rename to .github/workflow-samples/gradle-plugin/plugin/src/functionalTest/java/org/example/gradle/plugin/GradlePluginPluginFunctionalTest.java diff --git a/.github/workflows/samples/gradle-plugin/plugin/src/main/java/org/example/gradle/plugin/GradlePluginPlugin.java b/.github/workflow-samples/gradle-plugin/plugin/src/main/java/org/example/gradle/plugin/GradlePluginPlugin.java similarity index 100% rename from .github/workflows/samples/gradle-plugin/plugin/src/main/java/org/example/gradle/plugin/GradlePluginPlugin.java rename to .github/workflow-samples/gradle-plugin/plugin/src/main/java/org/example/gradle/plugin/GradlePluginPlugin.java diff --git a/.github/workflows/samples/gradle-plugin/plugin/src/test/java/org/example/gradle/plugin/GradlePluginPluginTest.java b/.github/workflow-samples/gradle-plugin/plugin/src/test/java/org/example/gradle/plugin/GradlePluginPluginTest.java similarity index 100% rename from .github/workflows/samples/gradle-plugin/plugin/src/test/java/org/example/gradle/plugin/GradlePluginPluginTest.java rename to .github/workflow-samples/gradle-plugin/plugin/src/test/java/org/example/gradle/plugin/GradlePluginPluginTest.java diff --git a/.github/workflows/samples/gradle-plugin/settings.gradle b/.github/workflow-samples/gradle-plugin/settings.gradle similarity index 100% rename from .github/workflows/samples/gradle-plugin/settings.gradle rename to .github/workflow-samples/gradle-plugin/settings.gradle diff --git a/.github/workflows/samples/groovy-dsl/build.gradle b/.github/workflow-samples/groovy-dsl/build.gradle similarity index 100% rename from .github/workflows/samples/groovy-dsl/build.gradle rename to .github/workflow-samples/groovy-dsl/build.gradle diff --git a/.github/workflows/samples/groovy-dsl/gradle.properties b/.github/workflow-samples/groovy-dsl/gradle.properties similarity index 100% rename from .github/workflows/samples/groovy-dsl/gradle.properties rename to .github/workflow-samples/groovy-dsl/gradle.properties diff --git a/.github/workflows/samples/groovy-dsl/gradle/wrapper/gradle-wrapper.jar b/.github/workflow-samples/groovy-dsl/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from .github/workflows/samples/groovy-dsl/gradle/wrapper/gradle-wrapper.jar rename to .github/workflow-samples/groovy-dsl/gradle/wrapper/gradle-wrapper.jar diff --git a/.github/workflows/samples/groovy-dsl/gradle/wrapper/gradle-wrapper.properties b/.github/workflow-samples/groovy-dsl/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from .github/workflows/samples/groovy-dsl/gradle/wrapper/gradle-wrapper.properties rename to .github/workflow-samples/groovy-dsl/gradle/wrapper/gradle-wrapper.properties diff --git a/.github/workflows/samples/groovy-dsl/gradlew b/.github/workflow-samples/groovy-dsl/gradlew similarity index 100% rename from .github/workflows/samples/groovy-dsl/gradlew rename to .github/workflow-samples/groovy-dsl/gradlew diff --git a/.github/workflows/samples/groovy-dsl/gradlew.bat b/.github/workflow-samples/groovy-dsl/gradlew.bat similarity index 100% rename from .github/workflows/samples/groovy-dsl/gradlew.bat rename to .github/workflow-samples/groovy-dsl/gradlew.bat diff --git a/.github/workflows/samples/groovy-dsl/settings.gradle b/.github/workflow-samples/groovy-dsl/settings.gradle similarity index 100% rename from .github/workflows/samples/groovy-dsl/settings.gradle rename to .github/workflow-samples/groovy-dsl/settings.gradle diff --git a/.github/workflows/samples/groovy-dsl/src/test/java/basic/BasicTest.java b/.github/workflow-samples/groovy-dsl/src/test/java/basic/BasicTest.java similarity index 100% rename from .github/workflows/samples/groovy-dsl/src/test/java/basic/BasicTest.java rename to .github/workflow-samples/groovy-dsl/src/test/java/basic/BasicTest.java diff --git a/.github/workflows/samples/java-toolchain/build.gradle b/.github/workflow-samples/java-toolchain/build.gradle similarity index 100% rename from .github/workflows/samples/java-toolchain/build.gradle rename to .github/workflow-samples/java-toolchain/build.gradle diff --git a/.github/workflows/samples/java-toolchain/gradle.properties b/.github/workflow-samples/java-toolchain/gradle.properties similarity index 100% rename from .github/workflows/samples/java-toolchain/gradle.properties rename to .github/workflow-samples/java-toolchain/gradle.properties diff --git a/.github/workflows/samples/java-toolchain/gradle/wrapper/gradle-wrapper.jar b/.github/workflow-samples/java-toolchain/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from .github/workflows/samples/java-toolchain/gradle/wrapper/gradle-wrapper.jar rename to .github/workflow-samples/java-toolchain/gradle/wrapper/gradle-wrapper.jar diff --git a/.github/workflows/samples/java-toolchain/gradle/wrapper/gradle-wrapper.properties b/.github/workflow-samples/java-toolchain/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from .github/workflows/samples/java-toolchain/gradle/wrapper/gradle-wrapper.properties rename to .github/workflow-samples/java-toolchain/gradle/wrapper/gradle-wrapper.properties diff --git a/.github/workflows/samples/java-toolchain/gradlew b/.github/workflow-samples/java-toolchain/gradlew similarity index 100% rename from .github/workflows/samples/java-toolchain/gradlew rename to .github/workflow-samples/java-toolchain/gradlew diff --git a/.github/workflows/samples/java-toolchain/gradlew.bat b/.github/workflow-samples/java-toolchain/gradlew.bat similarity index 100% rename from .github/workflows/samples/java-toolchain/gradlew.bat rename to .github/workflow-samples/java-toolchain/gradlew.bat diff --git a/.github/workflows/samples/java-toolchain/settings.gradle b/.github/workflow-samples/java-toolchain/settings.gradle similarity index 100% rename from .github/workflows/samples/java-toolchain/settings.gradle rename to .github/workflow-samples/java-toolchain/settings.gradle diff --git a/.github/workflows/samples/java-toolchain/src/test/java/basic/BasicTest.java b/.github/workflow-samples/java-toolchain/src/test/java/basic/BasicTest.java similarity index 100% rename from .github/workflows/samples/java-toolchain/src/test/java/basic/BasicTest.java rename to .github/workflow-samples/java-toolchain/src/test/java/basic/BasicTest.java diff --git a/.github/workflows/samples/kotlin-dsl/build.gradle.kts b/.github/workflow-samples/kotlin-dsl/build.gradle.kts similarity index 100% rename from .github/workflows/samples/kotlin-dsl/build.gradle.kts rename to .github/workflow-samples/kotlin-dsl/build.gradle.kts diff --git a/.github/workflows/samples/kotlin-dsl/gradle.properties b/.github/workflow-samples/kotlin-dsl/gradle.properties similarity index 100% rename from .github/workflows/samples/kotlin-dsl/gradle.properties rename to .github/workflow-samples/kotlin-dsl/gradle.properties diff --git a/.github/workflows/samples/kotlin-dsl/gradle/wrapper/gradle-wrapper.jar b/.github/workflow-samples/kotlin-dsl/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from .github/workflows/samples/kotlin-dsl/gradle/wrapper/gradle-wrapper.jar rename to .github/workflow-samples/kotlin-dsl/gradle/wrapper/gradle-wrapper.jar diff --git a/.github/workflows/samples/kotlin-dsl/gradle/wrapper/gradle-wrapper.properties b/.github/workflow-samples/kotlin-dsl/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from .github/workflows/samples/kotlin-dsl/gradle/wrapper/gradle-wrapper.properties rename to .github/workflow-samples/kotlin-dsl/gradle/wrapper/gradle-wrapper.properties diff --git a/.github/workflows/samples/kotlin-dsl/gradlew b/.github/workflow-samples/kotlin-dsl/gradlew similarity index 100% rename from .github/workflows/samples/kotlin-dsl/gradlew rename to .github/workflow-samples/kotlin-dsl/gradlew diff --git a/.github/workflows/samples/kotlin-dsl/gradlew.bat b/.github/workflow-samples/kotlin-dsl/gradlew.bat similarity index 100% rename from .github/workflows/samples/kotlin-dsl/gradlew.bat rename to .github/workflow-samples/kotlin-dsl/gradlew.bat diff --git a/.github/workflows/samples/kotlin-dsl/settings.gradle.kts b/.github/workflow-samples/kotlin-dsl/settings.gradle.kts similarity index 100% rename from .github/workflows/samples/kotlin-dsl/settings.gradle.kts rename to .github/workflow-samples/kotlin-dsl/settings.gradle.kts diff --git a/.github/workflows/samples/kotlin-dsl/src/main/java/com/example/Library.java b/.github/workflow-samples/kotlin-dsl/src/main/java/com/example/Library.java similarity index 100% rename from .github/workflows/samples/kotlin-dsl/src/main/java/com/example/Library.java rename to .github/workflow-samples/kotlin-dsl/src/main/java/com/example/Library.java diff --git a/.github/workflows/samples/kotlin-dsl/src/test/java/com/example/LibraryTest.java b/.github/workflow-samples/kotlin-dsl/src/test/java/com/example/LibraryTest.java similarity index 100% rename from .github/workflows/samples/kotlin-dsl/src/test/java/com/example/LibraryTest.java rename to .github/workflow-samples/kotlin-dsl/src/test/java/com/example/LibraryTest.java diff --git a/.github/workflows/samples/no-wrapper-gradle-4/build.gradle b/.github/workflow-samples/no-wrapper-gradle-4/build.gradle similarity index 100% rename from .github/workflows/samples/no-wrapper-gradle-4/build.gradle rename to .github/workflow-samples/no-wrapper-gradle-4/build.gradle diff --git a/.github/workflows/samples/no-wrapper-gradle-4/settings.gradle b/.github/workflow-samples/no-wrapper-gradle-4/settings.gradle similarity index 100% rename from .github/workflows/samples/no-wrapper-gradle-4/settings.gradle rename to .github/workflow-samples/no-wrapper-gradle-4/settings.gradle diff --git a/.github/workflows/samples/no-wrapper-gradle-5/build.gradle b/.github/workflow-samples/no-wrapper-gradle-5/build.gradle similarity index 100% rename from .github/workflows/samples/no-wrapper-gradle-5/build.gradle rename to .github/workflow-samples/no-wrapper-gradle-5/build.gradle diff --git a/.github/workflows/samples/no-wrapper-gradle-5/settings.gradle b/.github/workflow-samples/no-wrapper-gradle-5/settings.gradle similarity index 100% rename from .github/workflows/samples/no-wrapper-gradle-5/settings.gradle rename to .github/workflow-samples/no-wrapper-gradle-5/settings.gradle diff --git a/.github/workflows/samples/no-wrapper/build.gradle b/.github/workflow-samples/no-wrapper/build.gradle similarity index 100% rename from .github/workflows/samples/no-wrapper/build.gradle rename to .github/workflow-samples/no-wrapper/build.gradle diff --git a/.github/workflows/samples/no-wrapper/settings.gradle b/.github/workflow-samples/no-wrapper/settings.gradle similarity index 100% rename from .github/workflows/samples/no-wrapper/settings.gradle rename to .github/workflow-samples/no-wrapper/settings.gradle diff --git a/.github/workflows/failure-cases.yml b/.github/workflows/failure-cases.yml index ae6d5a8..a246fd0 100644 --- a/.github/workflows/failure-cases.yml +++ b/.github/workflows/failure-cases.yml @@ -17,7 +17,7 @@ jobs: uses: ./ continue-on-error: true with: - build-root-directory: .github/workflows/samples/no-wrapper + build-root-directory: .github/workflow-samples/no-wrapper arguments: help bad-configuration: @@ -29,6 +29,6 @@ jobs: uses: ./ continue-on-error: true with: - build-root-directory: .github/workflows/samples/no-wrapper + build-root-directory: .github/workflow-samples/no-wrapper arguments: help cache-disabled: yes diff --git a/.github/workflows/integTest-action-inputs.yml b/.github/workflows/integTest-action-inputs.yml index 76f7c30..328ff40 100644 --- a/.github/workflows/integTest-action-inputs.yml +++ b/.github/workflows/integTest-action-inputs.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -27,7 +27,7 @@ jobs: - name: Invoke with multi-line arguments uses: ./ with: - build-root-directory: .github/workflows/samples/groovy-dsl + build-root-directory: .github/workflow-samples/groovy-dsl arguments: | --configuration-cache --build-cache diff --git a/.github/workflows/integTest-caching-config.yml b/.github/workflows/integTest-caching-config.yml index 3075a00..fd1edb5 100644 --- a/.github/workflows/integTest-caching-config.yml +++ b/.github/workflows/integTest-caching-config.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -36,7 +36,7 @@ jobs: gradle-home-cache-excludes: | caches/build-cache-1 - name: Build using Gradle wrapper - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test # Test that the gradle-user-home cache will cache dependencies, by running build with --offline @@ -60,7 +60,7 @@ jobs: caches/build-cache-1 cache-read-only: true - name: Execute Gradle build with --offline - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test --offline # Test that build scans are captured when caching is explicitly disabled @@ -78,7 +78,7 @@ jobs: cache-disabled: true - name: Run Gradle build id: gradle - working-directory: .github/workflows/samples/no-wrapper${{ matrix.build-root-suffix }} + working-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }} run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}" - name: Check build scan url is captured if: ${{ !steps.gradle.outputs.build-scan-url }} @@ -99,7 +99,7 @@ jobs: uses: ./ - name: Run Gradle build id: gradle - working-directory: .github/workflows/samples/no-wrapper${{ matrix.build-root-suffix }} + working-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }} run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}" - name: Check build scan url is captured if: ${{ !steps.gradle.outputs.build-scan-url }} @@ -124,7 +124,7 @@ jobs: with: cache-write-only: true - name: Build using Gradle wrapper - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test verify-write-only-build: @@ -143,6 +143,6 @@ jobs: with: cache-read-only: true - name: Execute Gradle build with --offline - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test --offline diff --git a/.github/workflows/integTest-caching-configuration-cache.yml b/.github/workflows/integTest-caching-configuration-cache.yml index bb9c4f7..3c50524 100644 --- a/.github/workflows/integTest-caching-configuration-cache.yml +++ b/.github/workflows/integTest-caching-configuration-cache.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -31,7 +31,7 @@ jobs: - name: Setup Gradle uses: ./ - name: Groovy build with configuration-cache enabled - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test --configuration-cache configuration-cache-groovy: @@ -51,7 +51,7 @@ jobs: cache-read-only: true - name: Groovy build with configuration-cache enabled id: execute - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test --configuration-cache - name: Check that configuration-cache was used if: ${{ steps.execute.outputs.task_configured == 'yes' }} @@ -79,7 +79,7 @@ jobs: with: cache-read-only: true - name: Check execute Gradle build with configuration cache enabled (but not restored) - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test --configuration-cache seed-build-kotlin: @@ -95,7 +95,7 @@ jobs: - name: Setup Gradle uses: ./ - name: Execute 'help' with configuration-cache enabled - working-directory: .github/workflows/samples/kotlin-dsl + working-directory: .github/workflow-samples/kotlin-dsl run: ./gradlew help --configuration-cache modify-build-kotlin: @@ -112,7 +112,7 @@ jobs: - name: Setup Gradle uses: ./ - name: Execute 'test' with configuration-cache enabled - working-directory: .github/workflows/samples/kotlin-dsl + working-directory: .github/workflow-samples/kotlin-dsl run: ./gradlew test --configuration-cache # Test restore configuration-cache from the third build invocation @@ -133,7 +133,7 @@ jobs: cache-read-only: true - name: Execute 'test' again with configuration-cache enabled id: execute - working-directory: .github/workflows/samples/kotlin-dsl + working-directory: .github/workflow-samples/kotlin-dsl run: ./gradlew test --configuration-cache - name: Check that configuration-cache was used if: ${{ steps.execute.outputs.task_configured == 'yes' }} diff --git a/.github/workflows/integTest-caching-gradle-home.yml b/.github/workflows/integTest-caching-gradle-home.yml index 9e8fef4..cc88ddd 100644 --- a/.github/workflows/integTest-caching-gradle-home.yml +++ b/.github/workflows/integTest-caching-gradle-home.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -27,7 +27,7 @@ jobs: - name: Setup Gradle uses: ./ - name: Build using Gradle wrapper - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test # Test that the gradle-user-home cache will cache dependencies, by running build with --offline @@ -45,7 +45,7 @@ jobs: with: cache-read-only: true - name: Execute Gradle build with --offline - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test --offline # Test that the gradle-user-home cache will cache and restore local build-cache @@ -63,7 +63,7 @@ jobs: with: cache-read-only: true - name: Execute Gradle build and verify tasks from cache - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test -DverifyCachedBuild=true # Check that the build can run when Gradle User Home is not fully restored @@ -83,6 +83,6 @@ jobs: with: cache-read-only: true - name: Check executee Gradle build - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test diff --git a/.github/workflows/integTest-caching-java-toolchain.yml b/.github/workflows/integTest-caching-java-toolchain.yml index cf7bc83..94cc32b 100644 --- a/.github/workflows/integTest-caching-java-toolchain.yml +++ b/.github/workflows/integTest-caching-java-toolchain.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -27,7 +27,7 @@ jobs: - name: Setup Gradle uses: ./ - name: Build using Gradle wrapper - working-directory: .github/workflows/samples/java-toolchain + working-directory: .github/workflow-samples/java-toolchain run: ./gradlew test --info # Test that the gradle-user-home cache will cache the toolchain, by running build with --offline @@ -45,5 +45,5 @@ jobs: with: cache-read-only: true - name: Execute Gradle build with --offline - working-directory: .github/workflows/samples/java-toolchain + working-directory: .github/workflow-samples/java-toolchain run: ./gradlew test --info --offline diff --git a/.github/workflows/integTest-execution-with-caching.yml b/.github/workflows/integTest-execution-with-caching.yml index 7c1cfd1..10ff924 100644 --- a/.github/workflows/integTest-execution-with-caching.yml +++ b/.github/workflows/integTest-execution-with-caching.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -27,7 +27,7 @@ jobs: - name: Exucute Gradle build uses: ./ with: - build-root-directory: .github/workflows/samples/groovy-dsl + build-root-directory: .github/workflow-samples/groovy-dsl arguments: test # Test that the gradle-user-home is restored @@ -44,6 +44,6 @@ jobs: uses: ./ with: cache-read-only: true - build-root-directory: .github/workflows/samples/groovy-dsl + build-root-directory: .github/workflow-samples/groovy-dsl arguments: test --offline -DverifyCachedBuild=true diff --git a/.github/workflows/integTest-execution.yml b/.github/workflows/integTest-execution.yml index 4a3cbe5..e59a993 100644 --- a/.github/workflows/integTest-execution.yml +++ b/.github/workflows/integTest-execution.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -33,19 +33,19 @@ jobs: uses: ./ with: gradle-version: 6.9 - build-root-directory: .github/workflows/samples/no-wrapper + build-root-directory: .github/workflow-samples/no-wrapper arguments: help -DgradleVersionCheck=6.9 - name: Test use Gradle version alias uses: ./ with: gradle-version: release-candidate - build-root-directory: .github/workflows/samples/no-wrapper + build-root-directory: .github/workflow-samples/no-wrapper arguments: help - name: Test use defined Gradle executable uses: ./ with: - gradle-executable: .github/workflows/samples/groovy-dsl/gradlew${{ matrix.script-suffix }} - build-root-directory: .github/workflows/samples/no-wrapper + gradle-executable: .github/workflow-samples/groovy-dsl/gradlew${{ matrix.script-suffix }} + build-root-directory: .github/workflow-samples/no-wrapper arguments: help -DgradleVersionCheck=7.4.2 gradle-versions: @@ -67,7 +67,7 @@ jobs: id: gradle with: gradle-version: ${{matrix.gradle}} - build-root-directory: .github/workflows/samples/no-wrapper${{ matrix.build-root-suffix }} + build-root-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }} arguments: help -DgradleVersionCheck=${{matrix.gradle}} - name: Check build scan url if: ${{ !steps.gradle.outputs.build-scan-url }} diff --git a/.github/workflows/integTest-gradle-user-home.yml b/.github/workflows/integTest-gradle-user-home.yml index 6e4e5fb..8ccfe52 100644 --- a/.github/workflows/integTest-gradle-user-home.yml +++ b/.github/workflows/integTest-gradle-user-home.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -30,7 +30,7 @@ jobs: - name: Setup Gradle uses: ./ - name: Build using Gradle wrapper - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test --info # Test that the gradle-user-home cache will cache dependencies, by running build with --offline @@ -48,7 +48,7 @@ jobs: with: cache-read-only: true - name: Execute Gradle build with --offline - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test --offline --info # Test that the gradle-user-home cache will cache and restore local build-cache @@ -66,5 +66,5 @@ jobs: with: cache-read-only: true - name: Execute Gradle build and verify tasks from cache - working-directory: .github/workflows/samples/groovy-dsl + working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew test -DverifyCachedBuild=true --info diff --git a/.github/workflows/integTest-gradle-versions.yml b/.github/workflows/integTest-gradle-versions.yml index 60a32b7..5e7a3d7 100644 --- a/.github/workflows/integTest-gradle-versions.yml +++ b/.github/workflows/integTest-gradle-versions.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -34,21 +34,21 @@ jobs: with: gradle-version: 6.9 - name: Test uses Gradle v6.9 - working-directory: .github/workflows/samples/no-wrapper + working-directory: .github/workflow-samples/no-wrapper run: gradle help "-DgradleVersionCheck=6.9" - name: Setup Gradle with v7.1.1 uses: ./ with: gradle-version: 7.1.1 - name: Test uses Gradle v7.1.1 - working-directory: .github/workflows/samples/no-wrapper + working-directory: .github/workflow-samples/no-wrapper run: gradle help "-DgradleVersionCheck=7.1.1" - name: Setup Gradle with release-candidate uses: ./ with: gradle-version: release-candidate - name: Test use release-candidate - working-directory: .github/workflows/samples/no-wrapper + working-directory: .github/workflow-samples/no-wrapper run: gradle help gradle-versions: @@ -71,7 +71,7 @@ jobs: gradle-version: ${{ matrix.gradle }} - name: Run Gradle build id: gradle - working-directory: .github/workflows/samples/no-wrapper${{ matrix.build-root-suffix }} + working-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }} run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}" - name: Check build scan url if: ${{ !steps.gradle.outputs.build-scan-url }} diff --git a/.github/workflows/integTest-sample-gradle-plugin.yml b/.github/workflows/integTest-sample-gradle-plugin.yml index b2160ac..4a20de7 100644 --- a/.github/workflows/integTest-sample-gradle-plugin.yml +++ b/.github/workflows/integTest-sample-gradle-plugin.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -28,7 +28,7 @@ jobs: - name: Setup Gradle uses: ./ - name: Build gradle-plugin project - working-directory: .github/workflows/samples/gradle-plugin + working-directory: .github/workflow-samples/gradle-plugin run: ./gradlew build verify-build: @@ -43,5 +43,5 @@ jobs: - name: Setup Gradle uses: ./ - name: Build gradle-plugin project - working-directory: .github/workflows/samples/gradle-plugin + working-directory: .github/workflow-samples/gradle-plugin run: ./gradlew build --offline diff --git a/.github/workflows/integTest-sample-kotlin-dsl.yml b/.github/workflows/integTest-sample-kotlin-dsl.yml index 71afc8f..54bd408 100644 --- a/.github/workflows/integTest-sample-kotlin-dsl.yml +++ b/.github/workflows/integTest-sample-kotlin-dsl.yml @@ -5,7 +5,7 @@ on: types: [assigned, review_requested] push: paths: - - '.github/workflows/**' + - '.github/**' - 'dist/**' workflow_dispatch: @@ -28,7 +28,7 @@ jobs: - name: Setup Gradle uses: ./ - name: Build kotlin-dsl project - working-directory: .github/workflows/samples/kotlin-dsl + working-directory: .github/workflow-samples/kotlin-dsl run: ./gradlew build verify-build: @@ -43,5 +43,5 @@ jobs: - name: Setup Gradle uses: ./ - name: Build kotlin-dsl project - working-directory: .github/workflows/samples/kotlin-dsl + working-directory: .github/workflow-samples/kotlin-dsl run: ./gradlew build --offline diff --git a/.github/workflows/pr-build-scan-comment.yml b/.github/workflows/pr-build-scan-comment.yml index ff017e1..8f073e1 100644 --- a/.github/workflows/pr-build-scan-comment.yml +++ b/.github/workflows/pr-build-scan-comment.yml @@ -12,7 +12,7 @@ jobs: uses: ./ - name: Run build with Gradle wrapper id: gradle - working-directory: .github/workflows/samples/kotlin-dsl + working-directory: .github/workflow-samples/kotlin-dsl run: ./gradlew build --scan - name: "Add build scan URL as PR comment" uses: actions/github-script@v5