Skip to content

fix build

fix build #2

Workflow file for this run

name: Build DEV Jars
on:
pull_request:
paths-ignore:
- '.github/PULL_REQUEST_TEMPLATE.md'
- '.gitignore'
- 'LICENSE'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
- 'README.md'
push:
paths-ignore:
- '.github/PULL_REQUEST_TEMPLATE.md'
- '.gitignore'
- 'LICENSE'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
- 'README.md'
jobs:
build_dev_jars:
name: Build DEV jars
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build
run: |
mvn -B package --file pom.xml
git_hash=$(git rev-parse --short "$GITHUB_SHA")
echo "git_hash=$git_hash" >> $GITHUB_ENV
echo "snapshotVersion=5.5-SNAPSHOT" >> $GITHUB_ENV
echo "artifactPath=$(pwd)/builds" >> $GITHUB_ENV