Skip to content

adjust to apply jdk17 and springboot3 #399

adjust to apply jdk17 and springboot3

adjust to apply jdk17 and springboot3 #399

Workflow file for this run

# Quickstart for GitHub Actions
# https://docs.github.com/en/actions/quickstart
name: Fast CI
on: [ push, pull_request, workflow_dispatch ]
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
java: [ 8, 11 ]
fail-fast: false
max-parallel: 64
name: fast test on Java ${{ matrix.java }} OS ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: zulu
cache: maven
- name: Build with Maven
run: ./mvnw -V --no-transfer-progress clean install
- name: remove cola self maven install files for OS *nix
run: rm -rf $HOME/.m2/repository/com/alibaba/{cola,craftsman}
# https://docs.github.com/en/actions/learn-github-actions/variables#detecting-the-operating-system
# https://docs.github.com/en/actions/learn-github-actions/expressions
if: runner.os != 'Windows'
- name: remove cola self maven install files for OS Windows
run: |
Remove-Item -Recurse -Force $home/.m2/repository/com/alibaba/cola
Remove-Item -Recurse -Force $home/.m2/repository/com/alibaba/craftsman
if: runner.os == 'Windows'