diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a3d36c5..1a86ce4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -9,10 +9,11 @@ jobs: steps: - name: Check out code uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v4 with: - java-version: 1.8 + distribution: 'zulu' + java-version: 17 - name: Debug build run: ./gradlew assembleDebug --stacktrace - name: Unit test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8115a51..9b4c0f9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,10 +9,11 @@ jobs: steps: - name: Check out code uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v4 with: - java-version: 1.8 + distribution: 'zulu' + java-version: 17 - name: Create secrets file env: GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }}