Skip to content

Commit

Permalink
Use if
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 12, 2022
1 parent 080fc8f commit be9daf2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dev/tasks/python-wheels/github.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ jobs:
@rem It always build an image from scratch.
@rem We can remove this workaround once we find a way to use
@rem pulled caches when build an image.
archery docker pull python-wheel-windows-vs2017 || ^
archery docker build --no-pull python-wheel-windows-vs2017 || ^
exit /B 1
archery docker pull python-wheel-windows-vs2017
if errorlevel 1 (
archery docker build --no-pull python-wheel-windows-vs2017 || exit /B 1
)
archery docker run --no-build -e SETUPTOOLS_SCM_PRETEND_VERSION={{ arrow.no_rc_version }} python-wheel-windows-vs2017
- name: Test wheel
Expand Down

0 comments on commit be9daf2

Please sign in to comment.