Skip to content

Merge pull request #2 from Esmaay/veloficx #8

Merge pull request #2 from Esmaay/veloficx

Merge pull request #2 from Esmaay/veloficx #8

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:
if: "!contains(github.event.commits[0].message, '[ci-skip]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
name: CommandLibrary
path: ./*/target/*.jar