ci
ci copied to clipboard
Unable to set output inside a devcontainer
When using the new non-deprecated way of setting outputs in GitHub Actions ( https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ ), it is not working. I assume it is because $GITHUB_OUTPUT refers to some file or pipe which is not set in the devcontainer.
- name: Execute DevContainer commands
uses: devcontainers/[email protected]
with:
runCmd: |
echo "foo=bar" >> $GITHUB_OUTPUT
Now, I would expect the output foo to be available and usable in other steps or jobs, but it is not.
@gauravsaini04 / @prathameshzarkar9 Can either of you help with investigating this? Thanks!