Fix java version unset.

This commit is contained in:
Kavin 2022-09-11 02:08:53 +05:30
parent 9a45da45f2
commit 07304408fc
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -23,10 +23,10 @@ jobs:
- uses: actions/checkout@v3
- name: Create Version File
run: echo $(git log -1 --date=short --pretty=format:%cd)-$(git rev-parse --short HEAD) > VERSION
- name: set up JDK ${{ matrix.java }}
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
java-version: 17
distribution: temurin
check-latest: true
cache: "gradle"