Skip to content

Merge branch 'r2024.12.12' #28

Merge branch 'r2024.12.12'

Merge branch 'r2024.12.12' #28

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: Java CI with Maven
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Publish artifact Jena
uses: actions/upload-artifact@v2
with:
name: 'Jena'
path: 'jena/target/*.jar'
if-no-files-found: error
- name: Publish artifact Ilmenau
uses: actions/upload-artifact@v2
with:
name: 'Ilmenau'
path: 'ilmenau/target/*.jar'
if-no-files-found: error