Skip to content

Commit 880a71f

Browse files
Update win-10-pro.yml cache clear
1 parent 6b6015e commit 880a71f

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

.github/workflows/win-10-pro.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,39 @@ jobs:
1212
runs-on: [self-hosted, win-10-pro-x64]
1313
strategy:
1414
fail-fast: false
15-
matrix:
16-
distribution: [ 'adopt', 'zulu', 'temurin', 'corretto', 'liberica', 'oracle', 'microsoft', 'semeru', 'dragonwell', 'sapmachine', graalvm]
17-
build-system: ['maven', 'gradle', 'sbt']
15+
# matrix:
16+
# distribution: [ 'adopt', 'zulu', 'temurin', 'corretto', 'liberica', 'oracle', 'microsoft', 'semeru', 'dragonwell', 'sapmachine', graalvm]
17+
# build-system: ['maven', 'gradle', 'sbt']
1818
steps:
19-
# - name: cache clear
20-
# run: |
21-
# mv "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old"
22-
# mkdir -p "${{ runner.tool_cache }}"
19+
- name: cache clear
20+
run: |
21+
mv "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old"
22+
mkdir -p "${{ runner.tool_cache }}"
2323
24-
- name: Checkout code
25-
uses: actions/checkout@v4
24+
# - name: Checkout code
25+
# uses: actions/checkout@v4
2626

27-
- name: Set up Java
28-
uses: priyagupta108/setup-java@fix-windows-archive-extraction
29-
# uses: actions/setup-java@main
30-
with:
31-
distribution: ${{ matrix.distribution }}
32-
java-version: '21'
33-
cache: ${{ matrix.build-system }}
27+
# - name: Set up Java
28+
# uses: priyagupta108/setup-java@fix-windows-archive-extraction
29+
# # uses: actions/setup-java@main
30+
# with:
31+
# distribution: ${{ matrix.distribution }}
32+
# java-version: '21'
33+
# cache: ${{ matrix.build-system }}
3434

3535

36-
- name: Build with Maven
37-
if: matrix.build-system == 'maven'
38-
run: mvn -B package --file pom.xml
36+
# - name: Build with Maven
37+
# if: matrix.build-system == 'maven'
38+
# run: mvn -B package --file pom.xml
3939

40-
- name: Build with Gradle
41-
if: matrix.build-system == 'gradle'
42-
run: ./gradlew build --no-daemon
40+
# - name: Build with Gradle
41+
# if: matrix.build-system == 'gradle'
42+
# run: ./gradlew build --no-daemon
4343

44-
- name: Build with SBT
45-
if: matrix.build-system == 'sbt'
46-
run: sbt package
44+
# - name: Build with SBT
45+
# if: matrix.build-system == 'sbt'
46+
# run: sbt package
4747

48-
- name: Verify Java version
49-
run: java -version
48+
# - name: Verify Java version
49+
# run: java -version
5050

0 commit comments

Comments
 (0)