-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up dependencies installation symlinks on exit
The code used to install Arduino CLI, platform, and library dependencies does this by creating symlinks in the appropriate locations on the runner. The files the script gathers via clone or download, are stored in a temporary folder that is deleted when the script exits. This means the installation symlink for those files has no possible use after the script finishes. This particular pollution of the runner's environment is resolved by also registering a call to delete on exit as each symlink is created.
- Loading branch information
Showing
2 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters