Skip to content

Commit

Permalink
chore: fix custom-upgrade-awscli-v2-main (#499)
Browse files Browse the repository at this point in the history
Getting an error `pip not found` when running `pip install semver` due to changes in superchain image. Taking this opportunity to install semver in a more canonical way.
  • Loading branch information
kaizencc authored Aug 16, 2023
1 parent 719ddce commit a59b03f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
semver~=3.0.1
8 changes: 6 additions & 2 deletions .github/workflows/custom-upgrade-awscli-v2-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ jobs:
run: |
sudo apt update
sudo apt install -y jq
pip install semver
- name: Check for awscli version upgrades
run: python3 .github/scripts/upgrade-awscli-version.py
run: |
cd .github/scripts
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python3 upgrade-awscli-version.py
- id: create_patch
name: Find mutations
run: |-
Expand Down

0 comments on commit a59b03f

Please sign in to comment.