Is there a way to run your own cleanup step on a composite action? #46648
Replies: 3 comments
-
|
The supported syntax is described here: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions I'm afraid post scripts are only supported for Docker and Javascript actions. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
My composite action prepares stuff in the repo. One feature is to create a logs directory at a default location. I'd like to add a post step that packs that logs dir as an artifact. So… any news on this? I want this feature, please. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I'm using an action which logs me into my Tailscale VPN so that I can push deployments to an on-prem server. I would like to customize the action to manually close and delete the connection during the cleanup step instead of just deleting the container. Is there currently a way you can add a step to a composite action that runs when the parent workflow is complete? I can't find anything in the docs.
Beta Was this translation helpful? Give feedback.
All reactions