Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhir-maurya authored Jul 23, 2024
1 parent f9bba8f commit 2d9b6be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ jobs:
- name: Read variable
run: |
echo ${{ needs.my-job.outputs.output1 }}
outputs:
output1: ${{ 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 ${{ jobs.my-second-job.outputs.output1 }}
echo ${{ needs.my-second-job.outputs.output1 }}

0 comments on commit 2d9b6be

Please sign in to comment.