diff --git a/.github/workflows/pr_workflow.yml b/.github/workflows/pr_workflow.yml index 1500693..b8c39bd 100644 --- a/.github/workflows/pr_workflow.yml +++ b/.github/workflows/pr_workflow.yml @@ -11,8 +11,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: java-version: 15 + distribution: adopt - name: Build with Gradle run: ./gradlew assemble check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2f551c..6274953 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,8 +26,9 @@ jobs: with: fetch-depth: 0 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: java-version: 15 + distribution: adopt - name: Release run: ./gradlew verifyExpRelease githubRelease diff --git a/.github/workflows/test_and_build.yml b/.github/workflows/test_and_build.yml index 97d7b50..f232431 100644 --- a/.github/workflows/test_and_build.yml +++ b/.github/workflows/test_and_build.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2.3.1 with: java-version: 15 - name: Test with Gradle @@ -29,8 +29,9 @@ jobs: with: fetch-depth: 0 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: java-version: 15 + distribution: adopt - name: Test with Gradle run: ./gradlew githubRelease