Skip to content

ignore build result files #40

ignore build result files

ignore build result files #40

Workflow file for this run

name: build_jar.yml
on:
push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: 'false'
submodules: 'true'
token: ${{ secrets.PAT_TOKEN }}
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: |
mvn --batch-mode --update-snapshots clean
mvn --batch-mode --update-snapshots package -Dmaven.test.skip
- name: Create staging directory
run: mkdir -p staging && cp target/*.jar staging
- name: Upload JAR artifact
uses: actions/upload-artifact@v4
with:
name: Package
path: staging