From aeb8c6f380a77361b404082c406f1bc103b4378e Mon Sep 17 00:00:00 2001 From: Daniel Aaron Salwerowicz Date: Fri, 24 May 2024 12:03:56 +0200 Subject: [PATCH] Change pipeline to use included maven wrapper --- .github/workflows/deploy-project.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-project.yaml b/.github/workflows/deploy-project.yaml index 17efb309..97921c3b 100644 --- a/.github/workflows/deploy-project.yaml +++ b/.github/workflows/deploy-project.yaml @@ -46,6 +46,7 @@ jobs: - name: Import Secrets uses: hashicorp/vault-action@v3 + id: sec with: url: ${{ secrets.VAULT_URL }} method: ldap @@ -58,11 +59,13 @@ jobs: - name: Test the Project run: | + echo ${{ env.HTTP_PROXY_PORT }} + echo ${{ steps.sec.outputs.HTTP_PROXY_PORT }} sed -i "s/HTTP_PROXY_HOST/${{ env.HTTP_PROXY_HOST }}/g" .m2/settings.xml - sed -i "s/HTTP_PROXY_PORT/${{ env.HTTP_PROXY_PORT }}/g" .m2/settings.xml + sed -i "s/HTTP_PROXY_PORT/${{ steps.sec.outputs.HTTP_PROXY_PORT }}/g" .m2/settings.xml sed -i "s/HTTPS_PROXY_HOST/${{ env.HTTPS_PROXY_HOST }}/g" .m2/settings.xml sed -i "s/HTTPS_PROXY_PORT/${{ env.HTTPS_PROXY_PORT }}/g" .m2/settings.xml - mvn ${{ env.MAVEN_CONFIG }} verify --fail-at-end + ./mvnw ${{ env.MAVEN_CONFIG }} verify --fail-at-end - name: Publish Test Report uses: scacap/action-surefire-report@v1