diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4837730..e0254f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,7 @@ jobs: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} - name: Setup java - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} - name: Build with gradle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec7fb31..7070ae9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,7 +60,7 @@ jobs: git fetch git checkout -b workflow-$GITHUB_RUN_ID origin/workflow-$GITHUB_RUN_ID~1 - name: Setup java - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} - name: Build with gradle @@ -103,7 +103,7 @@ jobs: git fetch git checkout -b workflow-$GITHUB_RUN_ID origin/workflow-$GITHUB_RUN_ID~1 - name: Setup java - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: java-version: 11 - name: Publish jars