chore(release-workflow): deprecation of v3 #94
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
| # This workflow will build a Java project with Ant | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant | |
| name: Java Tests | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '8' | |
| distribution: 'temurin' | |
| - name: Build | |
| run: ant -noinput -buildfile build.xml buildForTest | |
| env: | |
| bytecode_format: ${{ vars.BYTECODE_FORMAT }} | |
| major_minor: ${{ vars.MAJOR_MINOR }} | |
| - name: Test | |
| run: ant -noinput -buildfile tests/build.xml checkTests |