Skip to content

Bump actions/cache from 3.3.1 to 3.3.2 #1877

Bump actions/cache from 3.3.1 to 3.3.2

Bump actions/cache from 3.3.1 to 3.3.2 #1877

Workflow file for this run

# This workflow build the "Eclipse Platform Aggregator Build"
# For more information see: https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/
name: Verify Eclipse Platform Aggregator Build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- 'master'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout tycho code
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
path: 'tycho'
- name: Checkout platform code
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
path: 'platform'
submodules: 'recursive'
lfs: true
repository: 'eclipse-platform/eclipse.platform.releng.aggregator'
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3.12.0
with:
java-version: |
8
11
19
17
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-verify-platform-${{ hashFiles('**/pom.xml', '**/*.target') }}
restore-keys: |
${{ runner.os }}-maven-verify-platform-
- name: Set up Maven
uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5
with:
maven-version: 3.9.2
- name: Build Tycho
env:
JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }}
working-directory: 'tycho'
run: >-
mvn -U -V -e -B -ntp
-DskipTests
--file pom.xml
-T1C
--global-toolchains ${{ github.workspace }}/tycho/.github/toolchains.xml
clean install
- name: Run Platform Build
env:
JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }}
working-directory: 'platform'
run: >-
mvn -U -V -e -B -ntp
--global-toolchains ${{ github.workspace }}/tycho/.github/toolchains.xml
--file pom.xml
--settings ${{ github.workspace }}/tycho/.github/settings.xml
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-DskipTests
-Pbree-libs
-Dtycho.version=5.0.0-SNAPSHOT
clean verify