Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
update jdk
Browse files Browse the repository at this point in the history
  • Loading branch information
youji.zzl committed Sep 16, 2023
1 parent 0027669 commit c480f69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/arklet_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install -Pci-install -B -U -e && bash ./tools/check_format.sh
Expand All @@ -33,7 +33,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
distribution: 'temurin'
cache: maven
server-id: ossrh
server-username: MAVEN_USERNAME
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/arklet_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Java JDK
uses: actions/setup-java@v3.12.0
uses: actions/setup-java@v3
with:
distribution: adopt
distribution: temurin
java-version: 8

- name: Setup Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.4

- name: Cache Maven dependencies
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
server-id: ossrh
cache: maven

- name: Test
run: mvn clean install -DskipTests -Dmaven.javadoc.skip=true -B -U
Expand Down

0 comments on commit c480f69

Please sign in to comment.