|
@@ -36,20 +36,9 @@ jobs:
|
|
|
- name: Build with Maven
|
|
|
id: build_app
|
|
|
run: |
|
|
|
- mvn clean package -Pprod -DskipTests ${{ github.event.inputs.extraMavenOptions }}
|
|
|
+ mvn clean package -DskipTests ${{ github.event.inputs.extraMavenOptions }}
|
|
|
export VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
|
|
|
echo ::set-output name=version::${VERSION}
|
|
|
-# - name: Set up QEMU
|
|
|
-# uses: docker/setup-qemu-action@v1
|
|
|
-# - name: Set up Docker Buildx
|
|
|
-# uses: docker/setup-buildx-action@v1
|
|
|
-# - name: Cache Docker layers
|
|
|
-# uses: actions/cache@v2
|
|
|
-# with:
|
|
|
-# path: /tmp/.buildx-cache
|
|
|
-# key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
|
-# restore-keys: |
|
|
|
-# ${{ runner.os }}-buildx-
|
|
|
- name: compose app
|
|
|
id: step_five
|
|
|
run: |
|
|
@@ -58,7 +47,7 @@ jobs:
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
|
- run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
|
|
|
+ run: mvn -B -Pprod verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
|
|
|
- name: Generate allure report
|
|
|
uses: simple-elf/allure-report-action@master
|
|
|
if: always()
|