Skip to content

Reproducer for the .settings folder of a project is not considdered if it is a linked resource #5417

Reproducer for the .settings folder of a project is not considdered if it is a linked resource

Reproducer for the .settings folder of a project is not considdered if it is a linked resource #5417

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Build Tycho
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- 'master'
- 'tycho-*'
pull_request:
branches:
- 'master'
- 'tycho-*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: |
8
11
17
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ matrix.os }}-${{ hashFiles('**/pom.xml', '**/*.target') }}
restore-keys: |
${{ runner.os }}-maven-${{ matrix.os }}-
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.8.6
- name: Build Tycho
env:
JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }}
run: |
cp .github/toolchains.xml ~/.m2/toolchains.xml
mvn -U -V -e -B -ntp clean install --file pom.xml -T1C
- name: Run Integration Tests
run: mvn -U -V -e -B -ntp -Pits -D maven.test.failure.ignore=true clean install --file tycho-its/pom.xml
if: github.event.pull_request.draft == false
- name: Upload Test Results
uses: actions/upload-artifact@v3
with:
name: test-results-${{ matrix.os }}
if-no-files-found: error
path: |
${{ github.workspace }}/tycho-its/target/surefire-reports/*.xml
if: github.event.pull_request.draft == false
event_file:
name: "Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Event File
path: ${{ github.event_path }}