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: on:
push: push:
branches: [ main ] branches: [main]
jobs: jobs:
build: build:
@ -16,6 +16,7 @@ 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