File tree 1 file changed +38
-0
lines changed
1 file changed +38
-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
+ publish :
14
+ strategy :
15
+ matrix :
16
+ # os: [ubuntu-latest, macos13, macos-latest]
17
+ os : [macos13, macos-latest]
18
+
19
+ runs-on : ${{ matrix.os }}
20
+ environment :
21
+ name : pypi
22
+ url : https://pypi.org/p/pylc3
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ - uses : actions/setup-python@v5
26
+ with :
27
+ python-version : ' 3.10'
28
+ cache : ' pip'
29
+ - run : |
30
+ pip install auditwheel patchelf
31
+ pip wheel . -w wheel
32
+ auditwheel repair -w dist --plat=manylinux_2_17_x86_64 wheel/*.whl
33
+ if: ${{ matrix.os == 'ubuntu-latest' }}
34
+ - run : |
35
+ pip wheel . -w dist
36
+ if: ${{ matrix.os == 'macos13' || matrix.os == 'macos-latest' }}
37
+ - uses : pypa/gh-action-pypi-publish@release/v1
38
+ # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
You can’t perform that action at this time.
0 commit comments