@@ -4,40 +4,40 @@ description: 'Prepare the CI environment by installing Swift and selected JDK et
4
4
runs :
5
5
using : composite
6
6
steps :
7
- - name : Install System Dependencies
8
- if : matrix.os_version == 'jammy'
9
- run : apt-get -qq update && apt-get -qq install -y make curl wget libjemalloc2 libjemalloc-dev
10
- shell : bash
7
+ # - name: Install System Dependencies
8
+ # if: matrix.os_version == 'jammy'
9
+ # run: apt-get -qq update && apt-get -qq install -y make curl wget libjemalloc2 libjemalloc-dev
10
+ # shell: bash
11
11
- name : Set up JDK ${{ matrix.jdk_version }}
12
12
uses : actions/setup-java@v4
13
13
with :
14
14
java-version : ${{ matrix.jdk_version }}
15
15
distribution : ${{ matrix.jdk_vendor }}
16
16
cache : ' gradle'
17
- - name : Cache JDKs
18
- id : cache-jdk
19
- if : matrix.os_version == 'jammy'
20
- uses : actions/cache@v4
21
- continue-on-error : true
22
- with :
23
- path : /usr/lib/jvm/
24
- key : ${{ runner.os }}-jdk-${{ matrix.jdk_vendor }}-${{ hashFiles('/usr/lib/jvm/*') }}
25
- restore-keys : |
26
- ${{ runner.os }}-jdk-
27
- - name : Install JDK
28
- if : steps.cache-jdk.outputs.cache-hit != 'true' && matrix.os_version == 'jammy'
29
- run : " bash -xc 'JDK_VENDOR=${{ matrix.jdk_vendor }} ./docker/install_jdk.sh'"
30
- shell : bash
31
- - name : Cache local Gradle repository
32
- uses : actions/cache@v4
33
- continue-on-error : true
34
- with :
35
- path : |
36
- /root/.gradle/caches
37
- /root/.gradle/wrapper
38
- key : ${{ runner.os }}-gradle-${{ hashFiles('*/*.gradle*', 'settings.gradle') }}
39
- restore-keys : |
40
- ${{ runner.os }}-gradle-
17
+ # - name: Cache JDKs
18
+ # id: cache-jdk
19
+ # if: matrix.os_version == 'jammy'
20
+ # uses: actions/cache@v4
21
+ # continue-on-error: true
22
+ # with:
23
+ # path: /usr/lib/jvm/
24
+ # key: ${{ runner.os }}-jdk-${{ matrix.jdk_vendor }}-${{ hashFiles('/usr/lib/jvm/*') }}
25
+ # restore-keys: |
26
+ # ${{ runner.os }}-jdk-
27
+ # - name: Install JDK
28
+ # if: steps.cache-jdk.outputs.cache-hit != 'true' && matrix.os_version == 'jammy'
29
+ # run: "bash -xc 'JDK_VENDOR=${{ matrix.jdk_vendor }} ./docker/install_jdk.sh'"
30
+ # shell: bash
31
+ # - name: Cache local Gradle repository
32
+ # uses: actions/cache@v4
33
+ # continue-on-error: true
34
+ # with:
35
+ # path: |
36
+ # /root/.gradle/caches
37
+ # /root/.gradle/wrapper
38
+ # key: ${{ runner.os }}-gradle-${{ hashFiles('*/*.gradle*', 'settings.gradle') }}
39
+ # restore-keys: |
40
+ # ${{ runner.os }}-gradle-
41
41
- name : Cache local SwiftPM repository
42
42
if : matrix.os_version == 'jammy'
43
43
uses : actions/cache@v4
0 commit comments