Fix typo and use maven enforcer #49
This file contains hidden or 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: Java CI | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up JDK 18 for x64 | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 18 | |
| architecture: x64 | |
| - name: Build with Maven | |
| run: mvn --batch-mode --update-snapshots clean package |