Skip to content

Commit

Permalink
env var in other steps
Browse files Browse the repository at this point in the history
  • Loading branch information
omenking authored Apr 30, 2024
1 parent c78e313 commit 64a7b23
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/workflow-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,10 @@ jobs:
echo "::group::My Group Message"
echo "Msg 1"
echo "Msg 2"
echo "::endgroup::"
echo "::endgroup::"
- name: "step 1"
run: |
echo "MY_VAL=hello" >> $GITHUB_ENV
- name: "step 2"
run: |
echo $MY_VAL

0 comments on commit 64a7b23

Please sign in to comment.