Skip to content

fix build test 2

fix build test 2 #3

Workflow file for this run

name: build-maven-project

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
run-name: Build maven project
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'termurin'
java-version: '21'
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
upload:
runs-on: ubuntu-latest
steps:
uses: actions/upload-artifact@v4
with:
name: dynatech-artifact
path: ${{github.workspace}}/target/DynaTech.jar