fix(ci): build Spring target in a JDK17+Maven container (runner image lacks java/mvn)
All checks were successful
ci / build (push) Successful in 1m16s
All checks were successful
ci / build (push) Successful in 1m16s
This commit is contained in:
parent
ff0b0b60a2
commit
ce73ce9eaa
1 changed files with 5 additions and 1 deletions
|
|
@ -3,7 +3,11 @@ on: [push, pull_request]
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: maven:3.9-eclipse-temurin-17
|
||||
steps:
|
||||
- run: |
|
||||
git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" repo && cd repo && git checkout "$GITHUB_SHA"
|
||||
apt-get update -qq && apt-get install -y -qq git >/dev/null 2>&1
|
||||
git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" repo
|
||||
cd repo && git checkout "$GITHUB_SHA"
|
||||
cd boot && mvn -q -B -DskipTests=false test
|
||||
|
|
|
|||
Reference in a new issue