File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : wheels
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ permissions :
10
+ id-token : write
11
+
12
+ jobs :
13
+ build :
14
+ strategy :
15
+ matrix :
16
+ os : [ubuntu-latest, macos13, macos-latest]
17
+
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
+ - run : |
29
+ pip install auditwheel patchelf
30
+ pip wheel . -w wheel
31
+ auditwheel repair -w dist --plat=manylinux_2_17_x86_64 wheel/*.whl
32
+ if: ${{ matrix.os == 'ubuntu-latest' }}
33
+ - run : |
34
+ run: pip wheel . -w dist
35
+ if: ${{ matrix.os == 'macos13' || matrix.os == 'macos-latest' }}
36
+ - uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments