mirror of
https://github.com/s4u/setup-maven-action.git
synced 2026-02-19 00:00:30 +08:00
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@ -12,7 +12,7 @@ on:
|
|||||||
- cron: '22 23 * * 5'
|
- cron: '22 23 * * 5'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: test-action
|
group: test-action-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -22,7 +22,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ 'ubuntu-latest', 'windows-latest', 'macOS-latest' ]
|
os: [ 'ubuntu-latest', 'windows-latest', 'macOS-latest' ]
|
||||||
java: [ '8', '11', '16' ]
|
java: [ '8', '11', '17' ]
|
||||||
maven: [ '3.5.4', '3.6.3', '3.8.3' ]
|
maven: [ '3.5.4', '3.6.3', '3.8.3' ]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
@ -53,3 +53,10 @@ jobs:
|
|||||||
|
|
||||||
- run: mvn -V validate -Drequire.java=8 -Drequire.maven=3.8.3
|
- run: mvn -V validate -Drequire.java=8 -Drequire.maven=3.8.3
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
test-ok:
|
||||||
|
name: Test OK
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [ test, test-deault ]
|
||||||
|
steps:
|
||||||
|
- run: echo OK
|
||||||
|
|||||||
Reference in New Issue
Block a user