From 3253ad2918b05fbe1714f3905b08965ff49b8343 Mon Sep 17 00:00:00 2001 From: Mario Fink Date: Wed, 22 Sep 2021 12:25:57 +0200 Subject: [PATCH] github-workflow: use artifacts to share prepared wheel configuration between jobs --- .github/workflows/pypi-deploy.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi-deploy.yml b/.github/workflows/pypi-deploy.yml index 64423cc..6501db5 100644 --- a/.github/workflows/pypi-deploy.yml +++ b/.github/workflows/pypi-deploy.yml @@ -14,6 +14,11 @@ jobs: - uses: actions/checkout@v2 - name: Prepare wheel build run: make -C python/ setup + - name: Store wheel configuration files + uses: actions/upload-artifact@v2 + with: + name: wheel-config + path: python/ build_wheels: name: Build binary wheels on ${{ matrix.os }} @@ -29,7 +34,10 @@ jobs: - uses: actions/setup-python@v2 - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.1.2 - working-directory: python/ + - name: Get wheel configuration files + uses: actions/download-artifact@v2 + with: + name: wheel-config - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse working-directory: python/ @@ -44,6 +52,10 @@ jobs: - uses: actions/checkout@v2 - name: Install cython run: python -m pip install cython==0.29.24 + - name: Get wheel configuration files + uses: actions/download-artifact@v2 + with: + name: wheel-config - name: Build sdist run: python setup.py sdist working-directory: python/