[build] Actions v3 (#2518)

* [build] Update to `actions/checkout@v3` and `actions/setup-java@v3`

* v3
This commit is contained in:
Him188 2023-02-20 23:56:20 +00:00 committed by GitHub
parent 3ba53ee4c2
commit 48d674b383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 19 deletions

View File

@ -30,11 +30,11 @@ jobs:
isUbuntu: ${{ startsWith(matrix.os, 'ubuntu') }}
isUnix: ${{ startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu') }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
@ -173,11 +173,11 @@ jobs:
isUbuntu: ${{ startsWith(matrix.os, 'ubuntu') }}
isUnix: ${{ startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu') }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
@ -280,11 +280,11 @@ jobs:
isUnix: ${{ startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu') }}
VCPKG_DEFAULT_BINARY_CACHE: ${{ startsWith(matrix.os, 'windows') && 'C:\vcpkg\binary_cache' || '/usr/local/share/vcpkg/binary_cache' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: 'adopt-openj9'
java-version: '17'

View File

@ -48,11 +48,11 @@ jobs:
isUnix: ${{ startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu') }}
VCPKG_DEFAULT_BINARY_CACHE: ${{ startsWith(matrix.os, 'windows') && 'C:\vcpkg\binary_cache' || '/usr/local/share/vcpkg/binary_cache' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: 'adopt-openj9'
java-version: '17'

View File

@ -11,10 +11,10 @@ jobs:
runs-on: macos-12 # 14G memory
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'

View File

@ -15,11 +15,11 @@ jobs:
name: "Initialize sonatype staging repository"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
@ -55,11 +55,11 @@ jobs:
isUbuntu: ${{ startsWith(matrix.os, 'ubuntu') }}
isUnix: ${{ startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu') }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
@ -174,11 +174,11 @@ jobs:
isUnix: ${{ startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu') }}
VCPKG_DEFAULT_BINARY_CACHE: ${{ startsWith(matrix.os, 'windows') && 'C:\vcpkg\binary_cache' || '/usr/local/share/vcpkg/binary_cache' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: 'adopt-openj9'
java-version: '17'
@ -308,11 +308,11 @@ jobs:
# - publish-others
# - publish-core-native
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3
# with:
# submodules: 'recursive'
#
# - uses: actions/setup-java@v2
# - uses: actions/setup-java@v3
# with:
# distribution: 'adopt-openj9'
# java-version: '17'

View File

@ -27,7 +27,7 @@ jobs:
# runs-on: macos-latest
# steps:
# - name: checkout
# uses: actions/checkout@v2
# uses: actions/checkout@v3
#
# - name: run tests
# uses: reactivecircus/android-emulator-runner@v2