-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Runner BugBug fix scope to the runnerBug fix scope to the runnerbugSomething isn't workingSomething isn't working
Description
Describe the bug
I've separated repeating shell logic to its own composite action. On each run, I'm setting a label into GITHUB_ENV to re-use it down the line. It works the first time, but subsequent calls to the composite action can't seem to update that value, as mentioned in the docs. After trying to set it, it just keeps the old value.
To Reproduce
Steps to reproduce the behavior:
- Setup a composite action
- Add step run: echo "label=${{ inputs.label }}-$GITHUB_SHA" >> $GITHUB_ENV
- Call this action multiple times in your job with different labels
Expected behavior
The environment variable should be updated properly on every call.
Runner Version and Platform
Version of your runner? Where do I see that?
OS of the machine running the runner? ubuntu-latest
What's not working?
There is no output whatsoever
dmattia, ramosbugs, Pierozi, tomthorogood, Menci and 30 more
Metadata
Metadata
Assignees
Labels
Runner BugBug fix scope to the runnerBug fix scope to the runnerbugSomething isn't workingSomething isn't working