blade-tool/.github/workflows/test-and-build.yml

18 lines
405 B
YAML
Raw Normal View History

name: Java CI
on: [push, pull_request]
jobs:
2024-06-12 13:51:24 +08:00
buildOnJava17:
name: build on java17
runs-on: ubuntu-latest
steps:
2024-06-12 20:13:15 +08:00
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
2024-06-12 13:51:24 +08:00
java-version: 17
2024-06-12 20:13:15 +08:00
cache: 'maven'
cache-dependency-path: 'pom.xml'
- name: Build with Maven
2024-06-12 15:45:29 +08:00
run: mvn package -P !develop