Change GH actions dist to adoptium

This commit is contained in:
Nassim Jahnke 2021-10-05 14:10:04 +02:00
parent 0a4d08886d
commit 7fb4e4a095
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ on: [push, pull_request]
jobs:
build:
# Only run on PRs if the source branch is on a different repo. We do not need run everything twice.
# Only run on PRs if the source branch is on a different repo. We do not need to run everything twice.
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: ubuntu-latest
@ -18,7 +18,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
distribution: 'temurin'
java-version: 11
- name: Build with Gradle
run: ./gradlew build