Fixed typo in ci.yml on-section #2
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: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java-version: [17] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v2 | |
| - name: Set up JDK ${{ matrix.java-version }} | |
| uses: actions/setup-java@v2 | |
| with: | |
| java-version: ${{ matrix.java-version }} | |
| distribution: 'adoptopenjdk' | |
| - name: Run tests | |
| run: mvn test | |
| - name: Build with Maven | |
| run: mvn clean install |