Skip to content

Build maven project

Build maven project #5

Workflow file for this run

name: build-maven-project
run-name: Build maven project
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup java 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: ${{ github.workspace }}/target/DynaTech.jar
name: dynatech-artifact