Skip to content

Commit cb6c78d

Browse files
committed
zstandard: address review — drop unused checkouts, ubuntu-latest publish, cp311
- Remove the leftover Checkout python-wheels step in build_wheels (unused). - Publish job runs on ubuntu-latest (no need for a riscv64 runner). - Use riseproject-dev/python-wheels/actions/publish-to-gitlab@main and drop the publish job's checkout. - Add cp311 to the build matrix per the updated dev-guide matrix. Signed-off-by: Bruno Verachten <gounthar@gmail.com>
1 parent 5594c3e commit cb6c78d

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/build-zstandard.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,9 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
python: ["cp312", "cp313", "cp314", "cp314t"]
37+
python: ["cp311", "cp312", "cp313", "cp314", "cp314t"]
3838

3939
steps:
40-
- name: Checkout python-wheels
41-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
42-
with:
43-
path: python-wheels-repo
44-
persist-credentials: false
45-
4640
# zstandard vendors the zstd C library as a submodule and, unlike numpy,
4741
# tags releases without a leading `v` (e.g. `0.25.0`), so the ref is the
4842
# bare version.
@@ -91,17 +85,11 @@ jobs:
9185
# version. Manual trigger is the only entry point, so checking the ref is
9286
# enough to gate uploads.
9387
if: github.ref == 'refs/heads/main'
94-
runs-on: ubuntu-24.04-riscv
88+
runs-on: ubuntu-latest
9589
permissions:
9690
contents: read
9791

9892
steps:
99-
- name: Checkout python-wheels
100-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
101-
with:
102-
path: python-wheels-repo
103-
persist-credentials: false
104-
10593
- name: Download wheels
10694
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
10795
with:
@@ -110,7 +98,7 @@ jobs:
11098
merge-multiple: true
11199

112100
- name: Publish to GitLab PyPI registry
113-
uses: ./python-wheels-repo/actions/publish-to-gitlab
101+
uses: riseproject-dev/python-wheels/actions/publish-to-gitlab@main
114102
with:
115103
gitlab-username: ${{ vars.GITLAB_DEPLOY_USER }}
116104
gitlab-token: ${{ secrets.GITLAB_DEPLOY_TOKEN }}

0 commit comments

Comments
 (0)