File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,20 +35,21 @@ jobs:
3535 echo "CLEANED_LATEST_VERSION=$CLEANED_LATEST_VERSION" >> "$GITHUB_OUTPUT"
3636 shell : bash
3737
38+ - name : Install Python dependencies
39+ run : python -m pip install packaging
40+ # This step uses the default shell (bash) to run the pip command
41+
3842 - name : Compare versions with Python and comment
3943 env :
4044 ISSUE_VERSION : ${{ steps.parse_issue.outputs.payload.version }}
4145 LATEST_VERSION : ${{ steps.clean_release_version.outputs.CLEANED_LATEST_VERSION }}
4246 ISSUE_NUMBER : ${{ github.event.issue.number }}
4347 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4448 run : |
45- # Install Python and packaging library if not already in runner image
46- python -m pip install packaging
47-
4849 # Start of Python script
4950 import os
5051 import tempfile
51- import subprocess # Import subprocess module
52+ import subprocess
5253 from packaging.version import parse
5354
5455 issue_version = os.environ['ISSUE_VERSION']
You can’t perform that action at this time.
0 commit comments