update release version #64
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: Gradle Build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: Test with Java ${{ matrix.jdk }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| jdk: ['11', '17'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK ${{ matrix.jdk }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: ${{ matrix.jdk }} | |
| cache: 'gradle' | |
| - name: Make gradlew executable | |
| run: chmod +x ./gradlew | |
| - name: Run tests | |
| run: ./gradlew test | |
| - name: Build package | |
| run: ./gradlew build | |
| - name: Upload OWASP Dependency Check results | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: owasp-reports-java-${{ matrix.jdk }} | |
| path: build/reports/ | |
| retention-days: 30 |