Skip to content

Commit

Permalink
Fix the output syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
A5rocks committed Dec 24, 2024
1 parent 324effa commit 3bb7081
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ jobs:
run: source .venv/bin/activate && ./ci.sh
- name: Get Python version for codecov flag
id: get-version
run: python -c "import sys; print('.'.join(map(str, sys.version_info[:2])))" >> "${GITHUB_OUTPUT}"
run: python -c "import sys; print('version=' + '.'.join(map(str, sys.version_info[:2])))" >> "${GITHUB_OUTPUT}"
- if: always()
uses: codecov/codecov-action@v3
with:
Expand Down Expand Up @@ -413,9 +413,7 @@ jobs:

- name: get Python version for codecov flag
id: get-version
run: >-
echo "version=$(python -V | cut -d' ' -f2 | cut -d'.' -f1,2)"
>> "${GITHUB_OUTPUT}"
run: python -c "import sys; print('version=' + '.'.join(map(str, sys.version_info[:2])))" >> "${GITHUB_OUTPUT}"
- if: always()
uses: codecov/codecov-action@v5
with:
Expand Down

0 comments on commit 3bb7081

Please sign in to comment.