From 2a781580f3bd3b372ebe6bb6fd5613b1d62de080 Mon Sep 17 00:00:00 2001 From: Hasenzahn1 Date: Thu, 25 Jan 2024 16:58:06 +0100 Subject: [PATCH] Update github actions to run and test --- .github/workflows/maven.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c9b93fe..b250c0d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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: @@ -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: