7
7
- " **"
8
8
pull_request :
9
9
workflow_dispatch :
10
+ schedule :
11
+ - cron : ' 30 5 * * *'
10
12
11
13
concurrency :
12
14
group : wheels-${{ github.ref }}
29
31
# https://github.com/github/feedback/discussions/7835#discussioncomment-1769026
30
32
buildplat :
31
33
- [ubuntu-20.04, manylinux_x86_64]
32
- - [ubuntu-20 .04, manylinux_aarch64]
34
+ - [ubuntu-24 .04-arm , manylinux_aarch64]
33
35
- [macos-14, macosx_*]
34
36
- [windows-2019, win_amd64]
35
37
python : ["cp39", "cp310", "cp311", "cp312", "cp313"]
59
61
cache-dependency-path : ' bindings/python/pyproject.toml'
60
62
allow-prereleases : true
61
63
62
- - name : Set up QEMU
63
- if : runner.os == 'Linux'
64
- uses : docker/setup-qemu-action@v3
65
- with :
66
- platforms : all
67
-
68
64
- name : Install pkg-config on MacOS
69
65
if : runner.os == 'macOS'
70
66
run : brew install pkg-config
@@ -152,7 +148,7 @@ jobs:
152
148
publish :
153
149
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#publishing-the-distribution-to-pypi
154
150
needs : [collect_dist]
155
- if : startsWith( github.ref, 'refs/tags/')
151
+ if : ${{ github.event_name != 'pull_request'}}
156
152
runs-on : ubuntu-latest
157
153
environment : release
158
154
permissions :
@@ -164,4 +160,10 @@ jobs:
164
160
name : all-dist-${{ github.run_id }}
165
161
path : dist/
166
162
- name : Publish distribution 📦 to PyPI
163
+ if : startsWith(github.ref, 'refs/tags/')
167
164
uses : pypa/gh-action-pypi-publish@release/v1
165
+ - name : Publish package distributions to TestPyPI
166
+ uses : pypa/gh-action-pypi-publish@release/v1
167
+ with :
168
+ repository-url : https://test.pypi.org/legacy/
169
+ skip-existing : true
0 commit comments