Skip to content

Commit

Permalink
Fixing workflow for updating pip packages
Browse files Browse the repository at this point in the history
  • Loading branch information
elvis kahoro committed Sep 6, 2023
1 parent 3a67e17 commit c02d2c8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions specs/python/update_pip.yml
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: []

0 comments on commit c02d2c8

Please sign in to comment.