Skip to content

GitHub Actions Update #15

GitHub Actions Update

GitHub Actions Update #15

Workflow file for this run

name: build-wf
on:
pull_request:
workflow_call:
jobs:
build:
strategy:
matrix:
os: [ubuntu-24.04, windows-2025]
runs-on: ${{ matrix.os }}
steps:
- name: Enable Long Paths in Git (Linux)
if: runner.os == 'Linux'
run: sudo git config --system core.longpaths true
- name: Enable Long Paths in Git (Windows)
if: runner.os == 'Windows'
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@v6
with:
submodules: true
- name: Setup JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Build Packages
run: ./mvnw clean package
- name: Store P2 Repository
if: runner.os == 'Linux'
uses: actions/upload-artifact@v6
with:
name: p2-jamopp
path: jamopp.p2/target/repository
retention-days: 1