Open JasonRSeequent opened 8 months ago
Hi @JasonRSeequent, pre and post steps have not been supported in composite actions yet. This is a highly requested feature, let's track it in https://github.com/actions/runner/issues/1478.
Hi @MoChilia, You are correct that pre and post steps are not currently supported in composite actions, based on the issue you linked, it doesn't look like they will be any time soon. If azure/login@v1 is supported in composite actions, then surely there should be a workaround to avoid having these warnings appear? The other workaround is to pin version v1.5.1, which isn't ideal.
@JasonRSeequent, it's a warning message and won't disrupt break your workflow, right? We'll explore ways to enhance this process, but it may not be of high priority. Thank you for your understanding.
this is not a high prio but annoying a lot of dev's around the world ;)
Any update on this?
any updates on this?
FYI - I end up moving this task to my workflow.
When calling azure/login@v1.6.0 from a composite action, the following warning is generated:
Warning: `pre` execution is not supported for local action from './.github/actions/deploy-infrastructure '
Example workflow block:
Example action.yaml file: