diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 273cd21..0dda1c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,3 +26,11 @@ jobs: - name: Read variable run: | echo ${{ needs.my-job.outputs.output1 }} + my-third-job: + name: third-job + needs: my-second-job + runs-on: self-hosted + steps: + - name: Read from job1 + run: | + echo ${{ needs.my-job.outputs.output1 }}