You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2024/02/08 04:14:41 UTC
(datasketches-python) 05/08: unique artifact names and merge into one at the end
This is an automated email from the ASF dual-hosted git repository.
jmalkin pushed a commit to branch 5.0.x-patch
in repository https://gitbox.apache.org/repos/asf/datasketches-python.git
commit 074643a1ccdcd325a27a33a5161937ac27916980
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Wed Feb 7 19:04:59 2024 -0800
unique artifact names and merge into one at the end
---
.github/workflows/build_wheels.yml | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index c41dbc2..2350e94 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -6,6 +6,7 @@ on:
env:
BUILD_TYPE: Release
MIN_CIBUILDWHEEL_VERSION: 2.16.2
+ PYTHON_VERSION: 3.11
jobs:
build_sdist:
@@ -17,7 +18,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
- python-version: '3.x'
+ python-version: ${{ env.PYTHON_VERSION }}
- name: Install build package
run: python -m pip install build --user
@@ -27,6 +28,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
+ name: sdist
path: dist/*.tar.gz
compression-level: 0 # contents are already compressed
@@ -96,5 +98,19 @@ jobs:
- uses: actions/upload-artifact@v4
with:
+ name: wheel-${{ matrix.config.os }}-${{ matrix.config.cibw-arch }}
path: ./dist/*.whl
compression-level: 0 # contents are already compressed
+
+
+ aggregate_artifact:
+ name: Aggregate artifact
+ runs-on: ubuntu-latest
+ needs: [build_sdist, build_wheels]
+ steps:
+ - name: Merge Artifacts
+ uses: actions/upload-artifact/merge@v4
+ with:
+ name: python_wheels
+ compression-level: 0
+ delete-merged: true
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org