tried to fix wildcard search on windows
Browse files
.github/workflows/build.yml
CHANGED
@@ -51,7 +51,14 @@ jobs:
|
|
51 |
name: "Python wheel"
|
52 |
|
53 |
- name: Install wheel
|
54 |
-
run:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|