Save daemon logs as GitHub Actions' artifacts to be able to inspect them
@@ -40,6 +40,13 @@ jobs:
- name: mvn clean verify
run: ./mvnw clean verify -Pnative -B -ntp -e
+ - name: Upload daemon test logs
+ if: ${{ success() || failure() }}
+ uses: actions/upload-artifact@v2
+ with:
+ name: daemon-test-logs-linux
+ path: daemon/target/maven-distro/daemon
+
- name: Upload mvnd
uses: actions/upload-artifact@v2
with:
@@ -51,7 +58,6 @@ jobs:
name: mvnd-dist.zip
path: daemon/target/mvnd-dist-*.zip
-
windows:
runs-on: windows-2019
steps:
@@ -110,13 +116,19 @@ jobs:
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
./mvnw clean verify -Pnative -B -ntp -e
+ - name: Upload daemon test logs
+ if: ${{ success() || failure() }}
+ uses: actions/upload-artifact@v2
+ with:
+ name: daemon-test-logs-windows
+ path: daemon/target/maven-distro/daemon
+
- name: Upload mvnd
uses: actions/upload-artifact@v2
with:
name: mvnd-windows-amd64.exe
path: client/target/mvnd.exe
-
darwin:
runs-on: macos-10.15
steps:
@@ -134,13 +146,19 @@ jobs:
- name: mvn clean verify
run: ./mvnw clean verify -Pnative -B -ntp -e
+ - name: Upload daemon test logs
+ if: ${{ success() || failure() }}
+ uses: actions/upload-artifact@v2
+ with:
+ name: daemon-test-logs-darwin
+ path: daemon/target/maven-distro/daemon
+
- name: Upload mvnd
uses: actions/upload-artifact@v2
with:
name: mvnd-darwin-amd64
path: client/target/mvnd
-
deploy:
runs-on: ubuntu-18.04
needs: [linux, windows, darwin]
