diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml index a10c23c..b7d7a9a 100644 --- a/.github/workflows/reuse.yml +++ b/.github/workflows/reuse.yml @@ -25,8 +25,8 @@ jobs: - run: echo ${{needs.job1.outputs.output1}} ${{needs.job1.outputs.output2}} job3: runs-on: ubuntu-latest - needs: [job1,job2] + needs: job2 if: | - always() && needs.job2.result == 'skipped') + always() && needs.job2.result == 'skipped' steps: - run: echo 'the job2 is skipped'