This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-asf-example.git


The following commit(s) were added to refs/heads/main by this push:
     new aba3d7e  Add a GitHub Actions workflow for building distribution 
artifacts
aba3d7e is described below

commit aba3d7e781951ebc511cdd4c7a0ebe8e299637d5
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Aug 13 18:31:29 2025 +0100

    Add a GitHub Actions workflow for building distribution artifacts
---
 .github/workflows/build_dists.yaml | 49 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/.github/workflows/build_dists.yaml 
b/.github/workflows/build_dists.yaml
new file mode 100644
index 0000000..a5e7fe9
--- /dev/null
+++ b/.github/workflows/build_dists.yaml
@@ -0,0 +1,49 @@
+name: build-dists
+on: [workflow_dispatch]
+permissions: { contents: read }
+
+jobs:
+  linux:
+    name: ${{ matrix.name }}
+    strategy:
+      fail-fast: false
+      matrix:
+        include:
+          - { name: manylinux-amd64,   image: 
quay.io/pypa/manylinux_2_28_x86_64,  runs_on: ubuntu-22.04 }
+          - { name: manylinux-aarch64, image: 
quay.io/pypa/manylinux_2_28_aarch64, runs_on: ubuntu-22.04-arm }
+          - { name: musllinux-amd64,   image: 
quay.io/pypa/musllinux_1_2_x86_64,   runs_on: ubuntu-22.04 }
+          - { name: musllinux-aarch64, image: 
quay.io/pypa/musllinux_1_2_aarch64,  runs_on: ubuntu-22.04-arm }
+    runs-on: ${{ matrix.runs_on }}
+    container: ${{ matrix.image }}
+    steps:
+      - name: Checkout repository (shallow, no persisted credentials)
+        uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # 
v4.3.0
+        with:
+          fetch-depth: 1
+          persist-credentials: false
+      - name: Build dists with uv (sdist+wheel)
+        run: uv build --sdist --wheel
+      - name: Upload dists artifact (${{ matrix.name }})
+        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 
# v4.6.2
+        with:
+          name: ${{ matrix.name }}
+          path: dist/*
+
+  macos-aarch64:
+    name: macos-aarch64
+    runs-on: macos-14
+    steps:
+      - name: Checkout repository (shallow, no persisted credentials)
+        uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # 
v4.3.0
+        with:
+          fetch-depth: 1
+          persist-credentials: false
+      - name: Setup uv
+        uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # 
v6.4.3
+      - name: Build dists with uv (sdist+wheel)
+        run: uv build --sdist --wheel
+      - name: Upload dists artifact (macos-aarch64)
+        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 
# v4.6.2
+        with:
+          name: macos-aarch64
+          path: dist/*


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to