Skip to content

Make setup-wsl idempotent so it can be used on custom runners #69

Answered by Vampire
ssbarnea asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not entirely sure what you mean.
Which part destroys what?
The action should only do things that are necessary and indeed running it a second time should not do much.
The "Install WSL" step if you meant that for example is guarded by doing wsl --status and only being executed if the output contains "is not installed".

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ssbarnea
Comment options

Answer selected by ssbarnea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants