Skip to content

Commit

Permalink
CI: Fix package build job for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymouX47 committed Jun 26, 2024
1 parent 5c9fb4b commit 8105a8e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,16 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Test package build and installation
- name: Test package build and installation (for non-Windows)
if: matrix.os != 'windows-latest'
run: |
make build
pip install -I dist/*.whl
pip install -I dist/*.tar.gz
- name: Test package build and installation (for Windows)
if: matrix.os == 'windows-latest'
run: |
make build
pip install -I dist\$(Get-ChildItem -Path dist\*.whl -Name)
pip install -I dist\$(Get-ChildItem -Path dist\*.tar.gz -Name)

0 comments on commit 8105a8e

Please sign in to comment.