We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48bbd3e commit 5a9e53aCopy full SHA for 5a9e53a
.github/workflows/wheels.yaml
@@ -0,0 +1,34 @@
1
+name: wheels
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+permissions:
10
+ id-token: write
11
12
+jobs:
13
+ strategy:
14
+ matrix:
15
+ os: [ubuntu-latest, macos13, macos-latest]
16
17
+ build:
18
+ runs-on: ${{ matrix.os }}
19
+ environment:
20
+ name: pypi
21
+ url: https://pypi.org/p/pylc3
22
+ steps:
23
+ - uses: actions/checkout@v4
24
+ - uses: actions/setup-python@v5
25
+ with:
26
+ python-version: '3.10'
27
+ cache: 'pip'
28
+ - if: runner.os == 'Linux'
29
+ - run: pip install auditwheel patchelf
30
+ - run: pip wheel . -w wheel
31
+ - run: auditwheel repair -w dist --plat=manylinux_2_17_x86_64 wheel/*.whl
32
+ - if: runner.os != 'Linux'
33
34
+ - uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments