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

18 lines
378 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:
- uses: actions/checkout@v3
2024-06-12 13:51:24 +08:00
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
cache: 'maven'
2024-06-12 13:51:24 +08:00
java-version: 17
- name: Build with Maven
run: mvn package