mirror of
https://github.com/stCarolas/setup-maven.git
synced 2026-07-02 20:01:44 +00:00
Matrix build.
This commit is contained in:
parent
dae8a72e84
commit
099feea579
7
.github/workflows/build-action.yaml
vendored
7
.github/workflows/build-action.yaml
vendored
@ -8,6 +8,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
mavne_version: [3.8.1, 3.6.3, 3.5.4]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -24,9 +27,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: "8"
|
java-version: "8"
|
||||||
distribution: "adopt"
|
distribution: "adopt"
|
||||||
- name: "Verify Java version"
|
|
||||||
run: java -version || java --version
|
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
maven-version: 3.8.1
|
maven-version: ${{ matrix.maven_version }
|
||||||
- run: mvn -v
|
- run: mvn -v
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,6 +23,7 @@ pids
|
|||||||
# IntelliIDEA
|
# IntelliIDEA
|
||||||
.idea/
|
.idea/
|
||||||
*.iml
|
*.iml
|
||||||
|
|
||||||
# Husky
|
# Husky
|
||||||
.husky/
|
.husky/
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user