Loading .github/workflows/prod.yml +18 Changes for .github/workflows/prod.yml: 18 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -89,6 +89,24 @@ jobs: gradle-user-home-cache-enabled: read-only project-dot-gradle-cache-enabled: read-only # Test that the gradle-user-home cache will cache and restore local build-cachee build-cache: needs: seed-build strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout sources uses: actions/checkout@v2 - name: Execute Gradle build and verify tasks from cache uses: ./ with: build-root-directory: __tests__/samples/basic arguments: test -DverifyCachedBuild=true gradle-user-home-cache-enabled: read-only project-dot-gradle-cache-enabled: read-only configuration-cache: needs: seed-build strategy: Loading __tests__/samples/basic/build.gradle +8 Changes for __tests__/samples/basic/build.gradle: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -9,3 +9,11 @@ repositories { dependencies { testImplementation('junit:junit:4.12') } tasks.named("test").configure { doLast { if (System.properties.verifyCachedBuild) { throw new RuntimeException("Build was not cached: unexpected execution of test task") } } } No newline at end of file __tests__/samples/basic/gradle.properties +1 Changes for __tests__/samples/basic/gradle.properties: 1 added line, 0 removed lines. Original line number Diff line number Diff line org.gradle.caching=true Loading
.github/workflows/prod.yml +18 Changes for .github/workflows/prod.yml: 18 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -89,6 +89,24 @@ jobs: gradle-user-home-cache-enabled: read-only project-dot-gradle-cache-enabled: read-only # Test that the gradle-user-home cache will cache and restore local build-cachee build-cache: needs: seed-build strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout sources uses: actions/checkout@v2 - name: Execute Gradle build and verify tasks from cache uses: ./ with: build-root-directory: __tests__/samples/basic arguments: test -DverifyCachedBuild=true gradle-user-home-cache-enabled: read-only project-dot-gradle-cache-enabled: read-only configuration-cache: needs: seed-build strategy: Loading
__tests__/samples/basic/build.gradle +8 Changes for __tests__/samples/basic/build.gradle: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -9,3 +9,11 @@ repositories { dependencies { testImplementation('junit:junit:4.12') } tasks.named("test").configure { doLast { if (System.properties.verifyCachedBuild) { throw new RuntimeException("Build was not cached: unexpected execution of test task") } } } No newline at end of file
__tests__/samples/basic/gradle.properties +1 Changes for __tests__/samples/basic/gradle.properties: 1 added line, 0 removed lines. Original line number Diff line number Diff line org.gradle.caching=true