diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 0713e82e..1245bbaf 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -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 }}