edit .yml again

This commit is contained in:
KoonQi 2023-09-05 18:36:03 +08:00
parent 1f573e8156
commit 854208c00b

View file

@ -2,7 +2,7 @@ name: Build and Test
on:
push:
branches: [ main ]
branches: [main]
jobs:
build:
@ -16,9 +16,10 @@ jobs:
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Run tests with Maven
run: mvn -B test --file pom.xml
run: mvn -B test --file pom.xml