Skip to content

Commit

Permalink
Update JDK in build process as well
Browse files Browse the repository at this point in the history
  • Loading branch information
qqndrew committed Oct 30, 2023
1 parent 276ae0a commit 444e17d
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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 13
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 13
- name: Build with Maven
run: mvn clean package --file pom.xml -s settings.xml -P build-executable
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 13
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 13
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }}/githubdeploysettings # location for the settings.xml file

Expand Down

0 comments on commit 444e17d

Please sign in to comment.