Skip to content

Commit

Permalink
should be in powershell format
Browse files Browse the repository at this point in the history
  • Loading branch information
mshr-h committed Oct 17, 2024
1 parent 9a264e3 commit ade1271
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,12 @@ jobs:
- name: Use Java 21 on Windows
if: ${{ startsWith(matrix.os, 'windows')}}
run: setx JAVA_HOME "%JAVA_HOME_21_X64%"
run: $env:JAVA_HOME=$env:JAVA_HOME_21_X64
- name: Print Environmental Variables on Windows
if: ${{ startsWith(matrix.os, 'windows')}}
run: |
echo %JAVA_HOME%
echo %JAVA_HOME_21_X64%
echo $JAVA_HOME
echo $JAVA_HOME_21_X64
echo $env:JAVA_HOME
echo $env:JAVA_HOME_21_X64
# We don't run pytest for ubuntu py3.9 since we do coverage for that case.
- name: Test with pytest
if: ${{ matrix.python-version != '3.9' || startsWith(matrix.os, 'ubuntu') != true }}
Expand Down

0 comments on commit ade1271

Please sign in to comment.