Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
Add toolchains parameter

Change-Id: If1c662b4fcb1d9c4ad3b98f03dbc58bd2620c5a4
  • Loading branch information
laeubi authored and hd42 committed Sep 23, 2022
1 parent 06085ff commit 16fc75a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
- name: build config
run: mvn -B install --settings settings.xml --file codequality-config/pom.xml
- name: Check compiles
run: mvn -B clean package --settings settings.xml --file pom.xml -T1C -Dtarget-platform=eclipse-${{ matrix.eclipse-release }} -DskipTests -Dtycho.p2.transport.min-cache-minutes=1440
run: mvn -B clean package --settings settings.xml --file pom.xml -T1C -Dtarget-platform=eclipse-${{ matrix.eclipse-release }} -DskipTests -Dtycho.p2.transport.min-cache-minutes=1440 --global-toolchains ${{ github.workspace }}/.github/toolchains.xml
if: ${{ matrix.eclipse-release != env.integration-test-release }}
- name: Run Integration Tests
uses: GabrielBB/xvfb-action@v1
with:
run: mvn -B clean verify --settings settings.xml --file pom.xml -T1C -Dtarget-platform=eclipse-${{ matrix.eclipse-release }} -Dmaven.test.failure.ignore=true -Dtycho.p2.transport.min-cache-minutes=1440
run: mvn -B clean verify --settings settings.xml --file pom.xml -T1C -Dtarget-platform=eclipse-${{ matrix.eclipse-release }} -Dmaven.test.failure.ignore=true -Dtycho.p2.transport.min-cache-minutes=1440 --global-toolchains ${{ github.workspace }}/.github/toolchains.xml
if: ${{ matrix.eclipse-release == env.integration-test-release }}
- name: Upload Test Results
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 16fc75a

Please sign in to comment.