Skip to content

Commit 4214b81

Browse files
committed
check if we can rely on setup-java again
1 parent e1a2345 commit 4214b81

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/actions/prepare_env/action.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,40 @@ description: 'Prepare the CI environment by installing Swift and selected JDK et
44
runs:
55
using: composite
66
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
1111
- name: Set up JDK ${{ matrix.jdk_version }}
1212
uses: actions/setup-java@v4
1313
with:
1414
java-version: ${{ matrix.jdk_version }}
1515
distribution: ${{ matrix.jdk_vendor }}
1616
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-
4141
- name: Cache local SwiftPM repository
4242
if: matrix.os_version == 'jammy'
4343
uses: actions/cache@v4

0 commit comments

Comments
 (0)