Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add post step to cleanup files created by the action #57

Merged
merged 5 commits into from
Jun 6, 2020

Conversation

alejandrohdezma
Copy link
Member

Why?

Files created by this action are left behind once the action is over. This doesn't affect normal runs (those run in Github machinery) but is a problem for those using a self-hosted runner.

What has been done?

Using the post step of a Github Action we can run a cleanup of files created by the action. In particular, it will be deleted both the Scala Steward workspace and the Coursier binary.

Example run

Related issue

This partially solves #52, caching of the workspace will be solved in a subsequent PR.

@alejandrohdezma
Copy link
Member Author

cc @MPV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant