set-env
set-env copied to clipboard
Getting a "warning" related to overwrite parameter
##[warning]Unexpected input 'YT_API_KEY', valid inputs are ['overwrite']
Run allenevans/[email protected]
with:
YT_API_KEY: ***
overwrite: true
env:
PATH: /home/runner/.rubies/ruby-
YT_API_KEY is an env variable I'm trying to set. The relevant part of my workflow file:
- name: Set environment variables
uses: allenevans/[email protected]
with:
YT_API_KEY: ${{ secrets.YT_API_KEY }}
If I add overwrite to my workflow file, the warning persists:
##[warning]Unexpected input 'YT_API_KEY', valid inputs are ['overwrite']
Run allenevans/[email protected]
with:
overwrite: true
YT_API_KEY: ***
env:
PATH: /home/runner/.rubies/ruby-
Functionality doesn't seem to be affected, as the env var seems to be correctly set for the next steps.
This looks like it could be related to this change in the actions runner repo. https://github.com/actions/runner/pull/429
Related: https://github.com/actions/runner/issues/514
It works. But I get a similar warning:
Warning: Unexpected input(s) 'CC', 'CXX', 'npm_config_clang', valid inputs are ['']
Working but throwing Warning: Unexpected input(s) 'ENV_NAME', valid inputs are ['']
There's very little I can do about this warning at the moment. I have added another comment to https://github.com/actions/runner/issues/514. Hopefully someone will take notice of it.