diff --git a/.github/scripts/requirements.txt b/.github/scripts/requirements.txt new file mode 100644 index 00000000..ac0e541e --- /dev/null +++ b/.github/scripts/requirements.txt @@ -0,0 +1 @@ +semver~=3.0.1 \ No newline at end of file diff --git a/.github/workflows/custom-upgrade-awscli-v2-main.yml b/.github/workflows/custom-upgrade-awscli-v2-main.yml index c1ce2f4c..b1e83233 100644 --- a/.github/workflows/custom-upgrade-awscli-v2-main.yml +++ b/.github/workflows/custom-upgrade-awscli-v2-main.yml @@ -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: |-