Skip to content

Commit

Permalink
Update testoutput.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaniska244 authored Nov 15, 2024
1 parent e508804 commit c739e6f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/testoutput.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
outputtest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- id: devcontainer-build
name: Execute DevContainer commands
Expand All @@ -25,3 +25,16 @@ jobs:
echo "Test output.."
echo "${{ steps.devcontainer-build.outputs.foo }}"
echo "Value printed and action completes.."
nextvaluetest:
runs-on: ubuntu-latest
needs: outputtest
steps:
- uses: actions/checkout@v4

- name: get prev output
run: |
set -e
echo "Previous job output.."
echo "${{ needs.outputtest.outputs.foo }}"
echo "Previous job value printed and action completes.."

0 comments on commit c739e6f

Please sign in to comment.