mirror of
https://github.com/troglobit/finit.git
synced 2026-10-14 10:19:36 +00:00
.github: detect Finit version and figure out build dir on failure
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
0e28741dcb
commit
01a007b388
1 file changed
+3
-1
@@ -60,7 +60,9 @@ jobs:
|
||||
/tmp/sbin/initctl -h
|
||||
- name: Run Unit Tests
|
||||
run: |
|
||||
make -j1 distcheck || (ls -l test; ls -l .; cat finit-4.3-dev/_build/sub/test/start-stop-fserv.log; echo "test-suite.log ================================================================"; cat test/test-suite.log; cat finit-4.3-dev/_build/sub/test/test-suite.log; false)
|
||||
ver=$(/tmp/sbin/initctl -V | awk '/Finit.*/ {print $2;}')
|
||||
dir=finit-$ver/_build/sub
|
||||
make -j1 distcheck || (cat $dir/test/test-suite.log; false)
|
||||
- name: Upload Test Results
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user