archive test results for diagnosing github actions weirdness

This commit is contained in:
Jonathan Shook 2022-06-24 10:48:48 -05:00
parent 4acdbbaf4b
commit 332c24a647

View File

@ -16,16 +16,23 @@ jobs:
java-version: '17'
java-package: jdk
architecture: x64
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
restore-keys: ${{ runner.os }}-m2
- name: mvn package
run: mvn package
- name: mvn verify
run: mvn verify
- name: Archive Test Results
if: always()
uses: actions/upload-artifact@v1
with:
name: test-results
path: logs