Skip to content

Commit

Permalink
ci: yet another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Apr 12, 2024
1 parent 624dd62 commit c9f5f20
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ jobs:
- name: "Set tox env var on Windows"
if: matrix.os == 'windows-latest'
run: |
$TOX_ENV = "py${{ matrix['python-version'] -replace '\.', '' }}"
Write-Host "TOX_ENV=$TOX_ENV" >> $env:GITHUB_ENV
$pythonVersion = "${{ matrix.python-version }}"
$TOX_ENV = "py" + $pythonVersion.Replace('.', '')
echo "TOX_ENV=$TOX_ENV" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: "Set tox env var on Linux/macOS"
if: matrix.os != 'windows-latest'
Expand Down

0 comments on commit c9f5f20

Please sign in to comment.