Skip to content
Discussion options

You must be logged in to vote

Not with documented guarantees, at least not the child process part.

With uses: actions/upload-artifact@v4 the runner starts node.exe for the action itself. There's no hook that runs before that, so you can't put the process in a Windows job object, which is what you'd need to block child process creation at the OS level. Nothing in the workflow syntax exposes anything like that.

What you do get:

For the deadline, timeout-minutes also works on individual steps, not just jobs. When it's hit the runner kills the step and it fails with a timeout error. It's enforced by the runner rather than something independent, but it's the supported way to cap a step.

For observing the exit, give the ste…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jude150
Comment options

@MrFabry
Comment options

Answer selected by jude150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage Actions Runner For issues and discussions related to the Actions Runner project Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
2 participants