Increment version number #773
Workflow file for this run
This file contains 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 | |
env: | |
SEGMENT_DOWNLOAD_TIMEOUT_MINS: '5' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' # See 'Supported distributions' for available options | |
java-version: '21' | |
- name: Cache Maven packages | |
id: cache-maven | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
# save-always: true | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }} | |
- name: Get Versions | |
run: | | |
echo "Google chrome version" | |
google-chrome --version | |
echo "firefox version" | |
firefox --version | |
echo "temp folder: ${{ runner.temp }}" | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots verify -Djava.io.tmpdir=${{ runner.temp }} | |
env: | |
NVD_NIST_APIKEY: ${{ secrets.NVD_NIST_APIKEY}} | |
- run: mkdir dist && cp target/*.jar dist | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Package | |
path: dist |