Skip to content

Commit

Permalink
fix java version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FalsePattern committed Feb 12, 2023
1 parent 9cb1c1a commit 92ff3f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
with:
fetch-depth: 0

- name: Set up JDK 8
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'
java-version: '17'

- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
4 changes: 2 additions & 2 deletions .github/workflows/release-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
- name: Set release version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Set up JDK 8
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'
java-version: '17'
server-id: mavenpattern
server-username: MAVEN_DEPLOY_USER
server-password: MAVEN_DEPLOY_PASSWORD
Expand Down

0 comments on commit 92ff3f5

Please sign in to comment.