Skip to content

Commit

Permalink
Try removing workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 7, 2024
1 parent 5a7981a commit 8818999
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions dev/tasks/python-wheels/github.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,9 @@ jobs:
GITHUB_TOKEN: {{ '${{ secrets.GITHUB_TOKEN }}' }}
run: |
cd arrow
@rem We want to use only
@rem archery docker run -e SETUPTOOLS_SCM_PRETEND_VERSION={{ arrow.no_rc_version }} python-wheel-windows-vs2019
@rem but it doesn't use pulled caches.
@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.
echo on
archery docker pull --no-ignore-pull-failures python-wheel-windows-vs2019
if errorlevel 1 (
archery docker build --no-pull python-wheel-windows-vs2019 || exit /B 1
)
archery docker run --no-build -e SETUPTOOLS_SCM_PRETEND_VERSION={{ arrow.no_rc_version }} python-wheel-windows-vs2019
archery docker run ^
-e SETUPTOOLS_SCM_PRETEND_VERSION={{ arrow.no_rc_version }} ^
python-wheel-windows-vs2019
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 8818999

Please sign in to comment.