File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -2706,13 +2706,6 @@ jobs:
2706
2706
command : |
2707
2707
$version = & bash ./version.sh
2708
2708
setx VERSION $version
2709
- $version
2710
- $VERSION
2711
- - run :
2712
- name : Set VERSION environment variable
2713
- command : |
2714
- $version
2715
- $VERSION
2716
2709
- unless :
2717
2710
condition :
2718
2711
equal : [ win/default, << parameters.executor-name >> ]
@@ -2726,7 +2719,16 @@ jobs:
2726
2719
- run : python -m pip install --upgrade --user pip
2727
2720
- run : pip install wheel setuptools build
2728
2721
- run : cd harness; python -m build --wheel --outdir ../build
2729
- - run : pip install --find-links build determined==${VERSION}
2722
+ - when :
2723
+ condition :
2724
+ equal : [ win/default, << parameters.executor-name >> ]
2725
+ steps :
2726
+ - run : pip install --find-links build determined==$env:VERSION
2727
+ - unless :
2728
+ condition :
2729
+ equal : [ win/default, << parameters.executor-name >> ]
2730
+ steps :
2731
+ - run : pip install --find-links build determined==${VERSION}
2730
2732
- run : pip freeze --all
2731
2733
# Allow this to fail, but it is useful for debugging.
2732
2734
- run : sh -c "pip check || true"
You can’t perform that action at this time.
0 commit comments