setup-java/.github/workflows/e2e-cache.yml
Priyagupta108 2e45750012
Some checks are pending
Validate cache / gradle-save (macos-14-large) (push) Waiting to run
Validate cache / gradle-restore (macos-14-large) (push) Blocked by required conditions
Validate cache / maven-save (macos-14-large) (push) Waiting to run
Validate cache / maven-restore (macos-14-large) (push) Blocked by required conditions
Validate cache / sbt-save (macos-14-large) (push) Waiting to run
Validate cache / sbt-restore (macos-14-large) (push) Blocked by required conditions
Validate Java e2e / adopt 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / adopt 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / adopt 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / adopt-openj9 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / adopt-openj9 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / adopt-openj9 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / corretto 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / corretto 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / corretto 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / graalvm 17.0.12 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / graalvm 21 (jdk-x64) - ubuntu-latest (push) Waiting to run
Validate Java e2e / graalvm 24-ea (jdk-x64) - ubuntu-latest (push) Waiting to run
Validate Java e2e / graalvm 21 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / jetbrains 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / jetbrains 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / jetbrains 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / liberica 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / liberica 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / liberica 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / microsoft 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / microsoft 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / microsoft 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / oracle 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / oracle 21 (jdk-x64) - ubuntu-latest (push) Waiting to run
Validate Java e2e / oracle 21 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / sapmachine 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / sapmachine 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / sapmachine 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / semeru 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / semeru 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / semeru 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / temurin 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / temurin 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / temurin 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / zulu 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / zulu 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / zulu 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / dragonwell 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell 11.0.13+9 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / graalvm 21.0.4 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 11.0.11 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17.0.7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 21.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 21.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 21.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / oracle 21.0.4 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 17.0.7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 21.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 21.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 21.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 21.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 21.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 21.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / zulu 17-ea (jdk-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 17-ea (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 21-ea (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 17-ea (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 21-ea (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 17-ea (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 21-ea (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / corretto 8 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17 (jdk+ft-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 21 (jdk+ft-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 11 (jdk+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17 (jdk+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 21 (jdk+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17 (jre+ft-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 21 (jre+ft-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 11 (jre+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17 (jre+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 21 (jre+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / liberica 21 (jdk+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jre+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / sapmachine 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / semeru 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / temurin 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / zulu 21.0 (jdk+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 21 (jre+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / corretto 11 (jdk-) - ubuntu-22.04 (push) Blocked by required conditions
Validate Java e2e / corretto 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jdk-) - ubuntu-22.04 (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11 (jdk-) - ubuntu-22.04 (push) Blocked by required conditions
Validate Java e2e / zulu 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / corretto version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - ubuntu-latest (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - macos-latest-1 (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - windows-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - ubuntu-latest (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - macos-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - windows-latest-1 (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - ubuntu-latest (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - macos-latest-1 (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - windows-latest-1 (push) Waiting to run
Validate Java e2e / corretto version from file X - macos-latest (push) Waiting to run
Validate Java e2e / corretto version from file X - ubuntu-latest (push) Waiting to run
Validate Java e2e / corretto version from file X - windows-latest (push) Waiting to run
Validate Java e2e / corretto version from file X - macos-latest-1 (push) Waiting to run
Validate Java e2e / corretto version from file X - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / corretto version from file X - windows-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file X - macos-latest (push) Waiting to run
Validate Java e2e / liberica version from file X - ubuntu-latest (push) Waiting to run
Validate Java e2e / liberica version from file X - windows-latest (push) Waiting to run
Validate Java e2e / liberica version from file X - macos-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file X - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file X - windows-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version from file X - macos-latest (push) Waiting to run
Validate Java e2e / microsoft version from file X - ubuntu-latest (push) Waiting to run
Validate Java e2e / microsoft version from file X - windows-latest (push) Waiting to run
Validate Java e2e / microsoft version from file X - macos-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version from file X - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version from file X - windows-latest-1 (push) Waiting to run
Validate Java e2e / temurin version from file X - macos-latest (push) Waiting to run
Validate Java e2e / temurin version from file X - ubuntu-latest (push) Waiting to run
Validate Java e2e / temurin version from file X - windows-latest (push) Waiting to run
Validate Java e2e / temurin version from file X - macos-latest-1 (push) Waiting to run
Validate Java e2e / temurin version from file X - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / temurin version from file X - windows-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file X - ubuntu-latest (push) Waiting to run
Validate Java e2e / zulu version from file X - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file X - macos-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X - windows-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - ubuntu-latest (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - macos-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - windows-latest-1 (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - ubuntu-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - macos-latest-1 (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - windows-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - ubuntu-latest (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - macos-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - windows-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - macos-latest (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - ubuntu-latest (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - windows-latest (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - macos-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - windows-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - macos-latest (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - ubuntu-latest (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - windows-latest (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - macos-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - windows-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - ubuntu-latest (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - macos-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - windows-latest-1 (push) Waiting to run
Test macos-14-large x64 runner
2025-07-30 14:51:48 +05:30

209 lines
6 KiB
YAML

name: Validate cache
on:
push:
branches:
- test-macos-x64-runner
- releases/*
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
defaults:
run:
shell: bash
jobs:
gradle-save:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14-large]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run setup-java with the cache for gradle
uses: ./
id: setup-java
with:
distribution: 'adopt'
java-version: '11'
cache: gradle
- name: Create files to cache
# Need to avoid using Gradle daemon to stabilize the save process on Windows
# https://github.com/actions/cache/issues/454#issuecomment-840493935
run: |
gradle downloadDependencies --no-daemon -p __tests__/cache/gradle1
if [ ! -d ~/.gradle/caches ]; then
echo "::error::The ~/.gradle/caches directory does not exist unexpectedly"
exit 1
fi
gradle-restore:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14-large]
needs: gradle-save
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run setup-java with the cache for gradle
uses: ./
id: setup-java
with:
distribution: 'adopt'
java-version: '11'
cache: gradle
- name: Confirm that ~/.gradle/caches directory has been made
run: |
if [ ! -d ~/.gradle/caches ]; then
echo "::error::The ~/.gradle/caches directory does not exist unexpectedly"
exit 1
fi
ls ~/.gradle/caches/
maven-save:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14-large]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run setup-java with the cache for maven
uses: ./
id: setup-java
with:
distribution: 'adopt'
java-version: '11'
cache: maven
- name: Create files to cache
run: |
mvn verify -f __tests__/cache/maven/pom.xml
if [ ! -d ~/.m2/repository ]; then
echo "::error::The ~/.m2/repository directory does not exist unexpectedly"
exit 1
fi
maven-restore:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14-large]
needs: maven-save
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run setup-java with the cache for maven
uses: ./
id: setup-java
with:
distribution: 'adopt'
java-version: '11'
cache: maven
- name: Confirm that ~/.m2/repository directory has been made
run: |
if [ ! -d ~/.m2/repository ]; then
echo "::error::The ~/.m2/repository directory does not exist unexpectedly"
exit 1
fi
ls ~/.m2/repository
sbt-save:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
working-directory: __tests__/cache/sbt
strategy:
fail-fast: false
matrix:
os: [macos-14-large]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run setup-java with the cache for sbt
uses: ./
id: setup-java
with:
distribution: 'adopt'
java-version: '11'
cache: sbt
- name: Setup SBT
if: matrix.os == 'macos-14-large'
run: |
echo ""Installing SBT...""
brew install sbt
- name: Create files to cache
run: sbt update
- name: Check files to cache on macos-latest
if: matrix.os == 'macos-14-large'
run: |
if [ ! -d ~/Library/Caches/Coursier ]; then
echo "::error::The ~/Library/Caches/Coursier directory does not exist unexpectedly"
exit 1
fi
- name: Check files to cache on windows-latest
if: matrix.os == 'windows-latest'
run: |
if [ ! -d ~/AppData/Local/Coursier/Cache ]; then
echo "::error::The ~/AppData/Local/Coursier/Cache directory does not exist unexpectedly"
exit 1
fi
- name: Check files to cache on ubuntu-latest
if: matrix.os == 'ubuntu-latest'
run: |
if [ ! -d ~/.cache/coursier ]; then
echo "::error::The ~/.cache/coursier directory does not exist unexpectedly"
exit 1
fi
sbt-restore:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
working-directory: __tests__/cache/sbt
strategy:
fail-fast: false
matrix:
os: [macos-14-large]
needs: sbt-save
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run setup-java with the cache for sbt
uses: ./
id: setup-java
with:
distribution: 'adopt'
java-version: '11'
cache: sbt
- name: Confirm that ~/Library/Caches/Coursier directory has been made
if: matrix.os == 'macos-14-large'
run: |
if [ ! -d ~/Library/Caches/Coursier ]; then
echo "::error::The ~/Library/Caches/Coursier directory does not exist unexpectedly"
exit 1
fi
ls ~/Library/Caches/Coursier
- name: Confirm that ~/AppData/Local/Coursier/Cache directory has been made
if: matrix.os == 'windows-latest'
run: |
if [ ! -d ~/AppData/Local/Coursier/Cache ]; then
echo "::error::The ~/AppData/Local/Coursier/Cache directory does not exist unexpectedly"
exit 1
fi
ls ~/AppData/Local/Coursier/Cache
- name: Confirm that ~/.cache/coursier directory has been made
if: matrix.os == 'ubuntu-latest'
run: |
if [ ! -d ~/.cache/coursier ]; then
echo "::error::The ~/.cache/coursier directory does not exist unexpectedly"
exit 1
fi
ls ~/.cache/coursier