diff --git a/.github/workflows/codeQLworkflow.yml b/.github/workflows/codeQLworkflow.yml index b6b8c762833..271a1272863 100644 --- a/.github/workflows/codeQLworkflow.yml +++ b/.github/workflows/codeQLworkflow.yml @@ -90,12 +90,10 @@ jobs: tycho-version: 4.0.12 - name: Build with Maven - uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a - with: - run: >- - mvn --batch-mode -V -U + run: >- + ${{ runner.os == 'Linux' && 'xvfb-run' || '' }} + mvn --batch-mode --no-transfer-progress --show-version --update-snapshots --errors ${{ inputs.without-EF-infra && '-Dtycho.version=4.0.12' || '' }} - -ntp -Dcompare-version-with-baselines.skip=true -Pbree-libs -DskipTests=true diff --git a/.github/workflows/mavenBuild.yml b/.github/workflows/mavenBuild.yml index cca00fb3140..336a7559d14 100644 --- a/.github/workflows/mavenBuild.yml +++ b/.github/workflows/mavenBuild.yml @@ -47,6 +47,10 @@ jobs: - { name: Linux, os: ubuntu-latest } - { name: Windows, os: windows-latest } - { name: MacOS, os: macos-13 } + defaults: + run: # Run always on bash, because powershell (the Windows default) interprets dots in arguments differently + shell: bash + name: Verify ${{ matrix.config.name }} steps: - name: Checkout @@ -81,19 +85,15 @@ jobs: tycho-version: 4.0.12 - name: Download the API Tools matcher - uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # v1.6.0 - id: api-tools-matcher - with: - url: "https://raw.githubusercontent.com/eclipse-platform/eclipse.platform.releng.aggregator/master/.github/matcher/api-tools.json" - target: .github/matcher - - run: echo "::add-matcher::.github/matcher/${{ steps.api-tools-matcher.outputs.filename }}" + run: | + mkdir .github/matcher + curl -o .github/matcher/api-tools.json https://raw.githubusercontent.com/eclipse-platform/eclipse.platform.releng.aggregator/master/.github/matcher/api-tools.json + echo "::add-matcher::.github/matcher/api-tools.json" - name: Build with Maven - uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a - with: - run: >- - mvn --batch-mode -V -U -e + run: >- + ${{ runner.os == 'Linux' && 'xvfb-run' || '' }} + mvn --batch-mode --no-transfer-progress --show-version --update-snapshots --errors ${{ inputs.without-EF-infra && '-Dtycho.version=4.0.12' || '' }} - -ntp -Dcompare-version-with-baselines.skip=false -Pbree-libs -Papi-check