Make the runner fails *after* uploading the logs.
This commit is contained in:
parent
16d08d9a5e
commit
878f0bcc4b
|
@ -56,10 +56,15 @@ jobs:
|
|||
run: |
|
||||
cd ${{ github.workspace }}/coriolis-2.x/src/alliance-check-toolkit/benchs
|
||||
eval `${{ github.workspace }}/coriolis-2.x/Linux.x86_64/Release.Shared/install/etc/coriolis2/coriolisEnv.py`
|
||||
../bin/gopy.sh
|
||||
../bin/gopy.sh --github-runner
|
||||
- name: Archive code coverage results
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: design-set-full-logs
|
||||
path: ${{ github.workspace }}/coriolis-2.x/src/alliance-check-toolkit/benchs/doit-gopy.log
|
||||
retention-days: 5
|
||||
- name: Make the runner fail *after* the log has been saved.
|
||||
run: |
|
||||
if [ -f ${{ github.workspace }}/coriolis-2.x/src/alliance-check-toolkit/benchs/doit-gopy.failed ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue