fix workflow
This commit is contained in:
1 parent
e021a713b2
commit
078c540327
1 file changed
+3
-10
+3
-10
@@ -24,17 +24,10 @@ jobs:
|
|||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '25'
|
java-version: '25'
|
||||||
|
|
||||||
- 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: mvn -B package --file pom.xml
|
run: |
|
||||||
|
chmod +x ./mvnw
|
||||||
|
./mvnw --batch-mode --update-snapshots verify
|
||||||
|
|
||||||
- name: Upload test reports
|
- name: Upload test reports
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in new issue
Block a user