Skip to content

Commit 80843d9

Browse files
Update check-version.yml
1 parent cb66bbf commit 80843d9

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/check-version.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
issue_id: ${{ github.event.issue.number }}
2020
github_token: ${{ secrets.GITHUB_TOKEN }}
2121

22+
- name: Debug: Print parsed payload
23+
run: |
24+
echo "Raw parsed payload: ${{ steps.parse_issue.outputs.payload }}"
25+
shell: bash
26+
2227
- name: Get latest release version
2328
id: get_latest_release
2429
uses: pozetroninc/github-action-get-latest-release@v0.8.0 # Or rez0n/actions-github-release@v2.0
@@ -35,17 +40,16 @@ jobs:
3540
echo "CLEANED_LATEST_VERSION=$CLEANED_LATEST_VERSION" >> "$GITHUB_OUTPUT"
3641
shell: bash
3742

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-
4243
- name: Compare versions with Python and comment
4344
env:
4445
ISSUE_VERSION: ${{ steps.parse_issue.outputs.payload.version }}
4546
LATEST_VERSION: ${{ steps.clean_release_version.outputs.CLEANED_LATEST_VERSION }}
4647
ISSUE_NUMBER: ${{ github.event.issue.number }}
4748
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4849
run: |
50+
# Install Python and packaging library if not already in runner image
51+
python -m pip install packaging
52+
4953
# Start of Python script
5054
import os
5155
import tempfile

0 commit comments

Comments
 (0)