Merge pull request #369 from TeamPiped/dockerless-build

Fix java version unset.
This commit is contained in:
Kavin 2022-09-11 02:09:25 +05:30 committed by GitHub
commit 75a5bea37d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"