ci: upgrade  to v3 across all workflows
Fixes warnings from
MODIFY
.github/workflows/apiman-verify.yaml
.github/workflows/apiman-verify.yaml
@@ -57,9 +57,9 @@ jobs:
run: bash .github/workflows/support/set-mvn-location.sh
- name: Set up JDK ${{ matrix.java }}
- uses: actions/setup-java@v2
+ uses: actions/setup-java@v3
with:
- distribution: adopt
+ distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
@@ -116,12 +116,12 @@ jobs:
run: bash .github/workflows/support/set-mvn-location.sh
- name: Set up JDK 11 (for deploying assets, docker builds, etc)
- uses: actions/setup-java@v2
+ uses: actions/setup-java@v3
with:
- distribution: adopt
- cache: maven
- java-version: 11
- server-id: ossrh
+ java-version: '11'
+ distribution: 'temurin'
+ cache: 'maven'
+ server-id: 'ossrh'
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
@@ -173,10 +173,12 @@ jobs:
${{ runner.os }}-maven-
- name: Set up JDK 11 (for deploying assets, docker builds, etc)
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v3
with:
- java-version: 11
- server-id: ossrh
+ java-version: '11'
+ distribution: 'temurin'
+ cache: 'maven'
+ server-id: 'ossrh'
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD

ci: upgrade  to v3 across all workflows

Fixes warnings from https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/