Skip to content

Commit

Permalink
Specify JDK distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoahero committed Oct 28, 2024
1 parent 3d2484d commit f746181
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin

- name: Publish Package
working-directory: ./MobileBuy
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: temurin
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

Expand Down

0 comments on commit f746181

Please sign in to comment.