andreped commited on
Commit
144b7b5
1 Parent(s): 5b7f94e

tried to fix wildcard search on windows

Browse files
Files changed (1) hide show
  1. .github/workflows/build.yml +8 -1
.github/workflows/build.yml CHANGED
@@ -51,7 +51,14 @@ jobs:
51
  name: "Python wheel"
52
 
53
  - name: Install wheel
54
- run: pip install --find-links=${{github.workspace}} livermask-*.whl
 
 
 
 
 
 
 
55
 
56
  - name: Test CLI
57
  run: livermask --help
 
51
  name: "Python wheel"
52
 
53
  - name: Install wheel
54
+ run: |
55
+ if: [ "$RUNNER_OS" == "Windows" ]; then
56
+ pip install --find-links=${{github.workspace}} livermask-*.whl
57
+ else:
58
+ $TARGET = Resolve-Path "${{github.workspace}}/livermask-*.whl" | Select -ExpandProperty Path &&
59
+ pip install --find-links=${{github.workspace}} $TARGET
60
+ fi
61
+ shell: bash
62
 
63
  - name: Test CLI
64
  run: livermask --help