fixed version tag for maven build

This commit is contained in:
anhefti 2021-04-22 11:56:12 +02:00
parent 5aadca5e49
commit aa98ed6b8f

View file

@ -40,7 +40,7 @@ jobs:
restore-keys: ${{ runner.os }}-m2 restore-keys: ${{ runner.os }}-m2
- -
name: Build with Maven name: Build with Maven
run: mvn clean install -e -P let_reporting -Dbuild-version="${{ env.SHA }}" run: mvn clean install -e -P let_reporting -Dsebserver-version="${{ env.SHA }}"
env: env:
sebserver-version: ${{ env.SHA }} sebserver-version: ${{ env.SHA }}
- -
@ -61,6 +61,7 @@ jobs:
path: target/seb-server.jar path: target/seb-server.jar
docker-build: docker-build:
needs: maven-build
# Run only on tagging # Run only on tagging
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') # if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest runs-on: ubuntu-latest