diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index fed8fcd..1ef506c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,9 +25,10 @@ jobs: with: fetch-depth: 0 - name: Set up JDK 8 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: 1.8 + distribution: 'adopt' + java-version: 8 - name: Release uses: jenkins-infra/jenkins-maven-cd-action@v1.1.0 with: