Skip to content

Commit

Permalink
setup java
Browse files Browse the repository at this point in the history
  • Loading branch information
dashaun committed Feb 5, 2024
1 parent 666a37a commit 44cd94f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,10 @@ jobs:
with:
username: dashaun
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Install JDK
uses: sfesenko/setup-sdkman@v1
- uses: actions/setup-java@v2
with:
deps: java:23.1.2.r21-nik
- run: |
source ~/.sdkman/bin/sdkman-init.sh
sdk version
java -version
sdk use java 23.1.2.r21-nik
distribution: 'liberica' # See 'Supported distributions' for available options
java-version: '21'
- name: Checkout master
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 44cd94f

Please sign in to comment.