-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add and use
cleanup-xapi-environment
composite action
Signed-off-by: Danilo Del Busso <[email protected]>
- Loading branch information
1 parent
89e4f79
commit 3d2738e
Showing
4 changed files
with
24 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Cleanup XenAPI environment | ||
description: Cleanup XenAPI environment created using the setup-xapi-environment composite action | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Uninstall unversioned packages and remove pins | ||
shell: bash | ||
# This should purge them from the cache, unversioned package have | ||
# 'master' as its version | ||
run: | | ||
opam list | awk -F " " '$2 == "master" { print $1 }' | xargs opam uninstall | ||
opam pin list | cut -f1 -d "." | xargs opam unpin |
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
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