diff --git a/.github/workflows/cypress-integration.yml b/.github/workflows/cypress-integration.yml index 150a1d209..0fd16c257 100644 --- a/.github/workflows/cypress-integration.yml +++ b/.github/workflows/cypress-integration.yml @@ -22,10 +22,13 @@ jobs: with: fetch-depth: 0 path: r5 - - uses: gradle/gradle-build-action@v2.4.0 - with: - gradle-version: 7.6.1 # Build .jar and copy to ./ui directory (along with config file) + # Cache Gradle dependencies to speed up the shadow jar build + - uses: actions/cache@v1 + id: cache + with: + path: ~/.gradle/caches + key: gradle-caches - uses: actions/setup-java@v1 with: java-version: 11 diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 6c6b0911f..24f08b055 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -31,9 +31,6 @@ jobs: - uses: actions/checkout@v2.3.2 with: fetch-depth: 0 - - uses: gradle/gradle-build-action@v2.4.0 - with: - gradle-version: 7.6.1 # Java setup step completes very fast, no need to run in a preconfigured docker container. - name: Set up JDK 11 uses: actions/setup-java@v3