mirror of https://github.com/apache/lucene.git
Update github actions to v3. (#11931)
This commit is contained in:
parent
0741a354c0
commit
d270025b7f
|
@ -27,9 +27,9 @@ jobs:
|
|||
os: [ubuntu-latest, macos-latest]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
|
|
|
@ -27,10 +27,10 @@ jobs:
|
|||
java: [ '17' ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: ${{ matrix.java }}
|
||||
|
@ -45,8 +45,6 @@ jobs:
|
|||
- name: Run gradle check (without tests)
|
||||
run: ./gradlew check -x test -Ptask.times=true --max-workers 2
|
||||
|
||||
# - uses: gradle/wrapper-validation-action@v1
|
||||
|
||||
# This runs all tests without any other validation checks.
|
||||
tests:
|
||||
name: gradle test (JDK ${{ matrix.java }} on ${{ matrix.os }})
|
||||
|
@ -62,10 +60,10 @@ jobs:
|
|||
java: [ '17' ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: ${{ matrix.java }}
|
||||
|
|
|
@ -15,10 +15,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
|
|
Loading…
Reference in New Issue