-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing workflow for updating pip packages
- Loading branch information
elvis kahoro
committed
Sep 6, 2023
1 parent
3a67e17
commit c02d2c8
Showing
1 changed file
with
7 additions
and
5 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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
--- | ||
name: Update all pip3 packages | ||
command: "pip3 list --outdated --format=freeze | cut -d = -f 1 | xargs -n1 pip3 install -U" | ||
tags: ["python"] | ||
command: pip3 list --outdated --format=columns | tail -n +3 | awk '{print $1}' | xargs -n1 pip3 install -U | ||
tags: [ | ||
"python" | ||
] | ||
description: Update all your pip3 packages in one go. | ||
source_url: "https://gist.github.com/kikulikov/898108545ad3297966111aeacf44def7" | ||
author: Kirill Kulikov | ||
author_url: "https://github.com/kikulikov" | ||
source_url: "https://github.com/warpdotdev/workflows/issues/149" | ||
author: Kirill Kulikov, csaper | ||
author_url: "https://github.com/kikulikov, https://github.com/csaper" | ||
shells: [] |