diff --git a/.github/workflows/maven_centos7.yml b/.github/workflows/maven_centos7.yml index dd97f3353..7915d5aa1 100644 --- a/.github/workflows/maven_centos7.yml +++ b/.github/workflows/maven_centos7.yml @@ -27,7 +27,10 @@ jobs: tar xzvf apache-maven-3.9.4-bin.tar.gz - name: Build with Maven - env: - PATH: ${{ env.PATH }}:$GITHUB_WORKSPACE/apache-maven-3.9.4/bin - run: mvn --batch-mode package + # env: + # PATH: ${{ env.PATH }}:$GITHUB_WORKSPACE/apache-maven-3.9.4/bin + run: | + export PATH=$PATH:$(pwd)/apache-maven-3.9.4/bin + mvn --batch-mode package +