Skip to content

Generate sync repord #66

Generate sync repord

Generate sync repord #66

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: Maven Build
on:
push:
# branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
working-directory: sync-git-submodules-branches
run: mvn -B package --file pom.xml
- name: Stage result files
run: mkdir staging && cp sync-git-submodules-branches/target/*.jar staging
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: Package
path: staging