Skip to content

Commit c02d2c8

Browse files
author
elvis kahoro
committed
Fixing workflow for updating pip packages
1 parent 3a67e17 commit c02d2c8

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

specs/python/update_pip.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
name: Update all pip3 packages
3-
command: "pip3 list --outdated --format=freeze | cut -d = -f 1 | xargs -n1 pip3 install -U"
4-
tags: ["python"]
3+
command: pip3 list --outdated --format=columns | tail -n +3 | awk '{print $1}' | xargs -n1 pip3 install -U
4+
tags: [
5+
"python"
6+
]
57
description: Update all your pip3 packages in one go.
6-
source_url: "https://gist.github.com/kikulikov/898108545ad3297966111aeacf44def7"
7-
author: Kirill Kulikov
8-
author_url: "https://github.com/kikulikov"
8+
source_url: "https://github.com/warpdotdev/workflows/issues/149"
9+
author: Kirill Kulikov, csaper
10+
author_url: "https://github.com/kikulikov, https://github.com/csaper"
911
shells: []

0 commit comments

Comments
 (0)