exclude executons on commits that are already handled by PRs #1
Workflow file for this run
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 with Maven | ||
|
Check failure on line 1 in .github/workflows/test.yml
|
||
| on: | ||
| push: | ||
| - develop | ||
| - main | ||
| pull_request: | ||
| jobs: | ||
| if: github.event_name != 'push' || github.event.pull_request == null | ||
| BuildAndTest: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK 1.8 | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: 'adopt' | ||
| java-package: jdk | ||
| java-version: '8' | ||
| - name: Build with Maven | ||
| run: mvn -B verify --file pom.xml | ||