更新文档 #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Maven test | |
on: | |
pull_request: | |
types: [ opened, reopened, edited ] | |
push: | |
branches: [ develop, master ] | |
jobs: | |
mvn_verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Maven Central Repository | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Run the Maven verify phase | |
run: mvn --batch-mode --update-snapshots -P dev test |