Merge pull request #6 from rzliau/kq

edit .yml again
This commit is contained in:
Chan Koon Qi 2023-09-05 18:36:35 +08:00 committed by GitHub
commit 6d9f1d418f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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