windows sdist selection: use env var
@@ -31,7 +31,9 @@ jobs:
run: pip install dist/*
if: matrix.os != 'windows-latest'
- name: Install rsatoolbox (Windows)
- run: Get-ChildItem dist -Name | pip install
+ run: |
+ $sdistfname = Get-ChildItem dist -Name
+ pip install $sdistfname
if: matrix.os == 'windows-latest'
- name: Install test dependencies
run: pip install -r tests/requirements.txt
