fix workflow
CI / Package (push) Failing after 1m14s
CI / Docker Build and Push (main) (push) Has been skipped
CI / Docker Build and Push (release) (push) Has been skipped

This commit is contained in:
anthorob committed 2026-03-18 06:38:29 -04:00
1 parent 91aaafeb40
commit e021a713b2
1 file changed
+13 -7
+13 -7
View File
@@ -5,7 +5,7 @@ on:
branches: branches:
- "main" - "main"
tags: tags:
- 'v*' - '*'
pull_request: pull_request:
branches: branches:
- "main" - "main"
@@ -23,16 +23,22 @@ jobs:
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: '25' java-version: '25'
cache: 'maven'
- name: Cache Maven repository
uses: actions/cache@v3
with:
path: |
~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- name: Build package - name: Build package
run: | run: mvn -B package --file pom.xml
chmod +x ./mvnw
./mvnw --batch-mode --update-snapshots verify
- name: Upload test reports - name: Upload test reports
if: always() if: always()
uses: actions/upload-artifact@v5 uses: actions/upload-artifact@v3
with: with:
name: junit-reports name: junit-reports
path: | path: |
@@ -40,7 +46,7 @@ jobs:
if-no-files-found: ignore if-no-files-found: ignore
- name: Upload Maven artifacts - name: Upload Maven artifacts
uses: actions/upload-artifact@v5 uses: actions/upload-artifact@v3
with: with:
name: maven-artifacts name: maven-artifacts
path: | path: |