diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 194b253..ffa8e25 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -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 diff --git a/.github/workflows/gui.yml b/.github/workflows/gui.yml index 42ac4b4..ee47330 100644 --- a/.github/workflows/gui.yml +++ b/.github/workflows/gui.yml @@ -191,4 +191,14 @@ jobs: local-path: ./artifacts/ remote-path: /easytier-releases/${{ github.sha }}/gui no-delete-remote-files: true - retry: 5 \ No newline at end of file + 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