File tree Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Gradle Assemble
2+ on : [pull_request]
3+
4+ jobs :
5+ assemble :
6+ runs-on : ${{ matrix.os }}
7+ strategy :
8+ matrix :
9+ os : [ubuntu-latest, windows-latest, macos-latest]
10+ steps :
11+ - uses : actions/checkout@v3
12+ - name : Set up JDK 11
13+ uses : actions/setup-java@v3
14+ with :
15+ java-version : 11
16+ distribution : temurin
17+ cache : gradle
18+ - name : Run Gradle
19+ run : |
20+ ./gradlew assemble
Original file line number Diff line number Diff line change 88 matrix :
99 os : [windows-latest, macos-latest] # precommit on ubuntu-latest is run as a part of the gradle-check workflow
1010 steps :
11- - uses : actions/checkout@v2
11+ - name : Setup docker (missing on MacOS)
12+ if : runner.os == 'macos'
13+ run : |
14+ brew install docker
15+ colima start
16+ sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock
17+ - uses : actions/checkout@v3
1218 - name : Set up JDK 11
13- uses : actions/setup-java@v2
19+ uses : actions/setup-java@v3
1420 with :
1521 java-version : 11
16- distribution : adopt
22+ distribution : temurin
23+ cache : gradle
1724 - name : Run Gradle
1825 run : |
1926 ./gradlew javadoc precommit --parallel
You can’t perform that action at this time.
0 commit comments