Skip to content

Commit

Permalink
Update github actions to run and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hasenzahn1 committed Jan 25, 2024
1 parent 1535ef4 commit 2a78158
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ name: Java CI with Maven

on:
push:
branches: [ master ]
branches: [ master, refactor ]
pull_request:
branches: [ master ]

branches: [ master, refactor ]
workflow_dispatch:
branches: [ master, refactor ]
jobs:
build:

Expand All @@ -21,13 +22,13 @@ jobs:
with:
java-version: '17'
distribution: 'adopt'

- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify

- name: Create necessary directories
run: mkdir staging && cp target/*.jar staging

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 2a78158

Please # to comment.