Skip to content

Commit 45af869

Browse files
Upgrade CI JDK
1 parent 2f9cf78 commit 45af869

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.asf.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ github:
77

88
notifications:
99
commits: commits@xmlgraphics.apache.org
10-
issues: batik-dev@xmlgraphics.apache.org
11-
pullrequests: batik-dev@xmlgraphics.apache.org
10+
# issues: batik-dev@xmlgraphics.apache.org
11+
# pullrequests: batik-dev@xmlgraphics.apache.org
1212
jira_options: link label

.github/workflows/maven.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v3
19-
- run: |
20-
wget -O $RUNNER_TEMP/java_package.tar.gz -c --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
21-
- uses: actions/setup-java@v3
19+
- name: Set up JDK 8
20+
uses: actions/setup-java@v3
2221
with:
23-
distribution: 'jdkfile'
24-
jdkFile: ${{ runner.temp }}/java_package.tar.gz
25-
java-version: '8.0.0'
26-
architecture: x64
22+
java-version: '8'
23+
distribution: 'temurin'
24+
cache: maven
2725
- name: Build with Maven
2826
run: mvn -B package checkstyle:check --file pom.xml
2927

0 commit comments

Comments
 (0)