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