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 - uses: actions/checkout@v3
- name: Create Version File - name: Create Version File
run: echo $(git log -1 --date=short --pretty=format:%cd)-$(git rev-parse --short HEAD) > VERSION 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 uses: actions/setup-java@v3
with: with:
java-version: ${{ matrix.java }} java-version: 17
distribution: temurin distribution: temurin
check-latest: true check-latest: true
cache: "gradle" cache: "gradle"