diff --git a/.github/workflows/asf-snapshots-deploy.yml b/.github/workflows/asf-snapshots-deploy.yml index 1a92be1f48..09f6c42e36 100644 --- a/.github/workflows/asf-snapshots-deploy.yml +++ b/.github/workflows/asf-snapshots-deploy.yml @@ -34,7 +34,7 @@ jobs: steps: - uses: actions/checkout@v4.1.4 - name: Set up JDK ${{ matrix.java }} - uses: AdoptOpenJDK/install-jdk@v1 + uses: AdoptOpenJDK/install-jdk@v1.1.1 with: version: ${{ matrix.java }} - name: Cache Maven Repository @@ -53,10 +53,10 @@ jobs: NEXUS_DEPLOY_PASSWORD: ${{ secrets.NEXUS_PW }} steps: - uses: actions/checkout@v4.1.4 - - name: Set up JDK 11 - uses: AdoptOpenJDK/install-jdk@v1 + - name: Set up JDK ${{ matrix.java }} + uses: AdoptOpenJDK/install-jdk@v1.1.1 with: - version: '11' + version: ${{ matrix.java }} - name: Deploy to ASF Snapshots Repository run: | ./mvnw ${MAVEN_ARGS} \