From cac7f688450098f5222c2bc3599c90717e73f73a Mon Sep 17 00:00:00 2001 From: Alexander Lobyntsev Date: Sun, 11 Feb 2024 13:24:03 +0700 Subject: [PATCH] ci: 6 share data POC [no ci] --- .github/workflows/test.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1c7ba22..384eec1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,18 @@ jobs: return read(); + + failed_job: + runs-on: ubuntu-latest + needs: [ write_state ] + steps: + - name: Failed + uses: actions/github-script@v6 + with: + script: | + core.setFailed('Failed status job') + run_reuse: - needs: [read_state] - if: ${{ contains(needs.read_state.result, 'success') }} + needs: [failed_job] + if: ${{ contains(needs.failed_job.result, 'success') }} uses: ./.github/workflows/reuse.yml