fix workflow status check for matrix build

This commit is contained in:
sijie.sun 2024-05-11 00:14:42 +08:00 committed by Sijie.Sun
parent 518b6e277a
commit 0926820849
2 changed files with 21 additions and 1 deletions

View File

@ -129,3 +129,13 @@ jobs:
remote-path: /easytier-releases/${{ github.sha }}/
no-delete-remote-files: true
retry: 5
core-result:
if: needs.pre_job.outputs.should_skip != 'true' && always()
runs-on: ubuntu-latest
needs:
- pre_job
- build
steps:
- name: Mark result as failed
if: needs.build.result != 'success'
run: exit 1

View File

@ -192,3 +192,13 @@ jobs:
remote-path: /easytier-releases/${{ github.sha }}/gui
no-delete-remote-files: true
retry: 5
gui-result:
if: needs.pre_job.outputs.should_skip != 'true' && always()
runs-on: ubuntu-latest
needs:
- pre_job
- build-gui
steps:
- name: Mark result as failed
if: needs.build-gui.result != 'success'
run: exit 1