From bce990e7747206fd292971389879791bb17a588f Mon Sep 17 00:00:00 2001 From: adalucky1234 <35015656+adalucky1234@users.noreply.github.com> Date: Wed, 14 Dec 2022 17:11:53 -0800 Subject: [PATCH] Update publish-and-release-to-maven-central.yml upgrade v2 to v3 --- .../publish-and-release-to-maven-central.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-and-release-to-maven-central.yml b/.github/workflows/publish-and-release-to-maven-central.yml index d921898..7091d76 100644 --- a/.github/workflows/publish-and-release-to-maven-central.yml +++ b/.github/workflows/publish-and-release-to-maven-central.yml @@ -9,17 +9,17 @@ jobs: if: "contains(github.event.head_commit.message, 'EXECUTE PUBLISH JOB')" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 #Run JDK configuration - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '8' distribution: 'adopt' #Gradle cache configuration - name: Cache Gradle packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -37,17 +37,17 @@ jobs: needs: build runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 #Run JDK configuration - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '8' distribution: 'adopt' #Gradle cache configuration - name: Cache Gradle packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -89,17 +89,17 @@ jobs: if: "contains(github.event.head_commit.message, 'EXECUTE RELEASE JOB')" runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 #Run JDK configuration - name: Set up JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '8' distribution: 'adopt' #Gradle cache configuration - name: Cache Gradle packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}