@@ -3,9 +3,9 @@ name: release-deploy
3
3
on :
4
4
release :
5
5
types : [ published ]
6
- push :
7
- branches : [ main ]
8
- pull_request :
6
+ # push:
7
+ # branches: [ main ]
8
+ # pull_request:
9
9
10
10
jobs :
11
11
build-sdist :
@@ -41,39 +41,39 @@ jobs:
41
41
fail-fast : false
42
42
matrix :
43
43
include :
44
- # # Windows 32 bit
45
- # - os: windows-latest
46
- # python: 39
47
- # platform_id: win32
48
- # - os: windows-latest
49
- # python: 310
50
- # platform_id: win32
51
- # - os: windows-latest
52
- # python: 311
53
- # platform_id: win32
54
- # - os: windows-latest
55
- # python: 312
56
- # platform_id: win32
57
- # - os: windows-latest
58
- # python: 313
59
- # platform_id: win32
44
+ # Windows 32 bit
45
+ - os : windows-latest
46
+ python : 39
47
+ platform_id : win32
48
+ - os : windows-latest
49
+ python : 310
50
+ platform_id : win32
51
+ - os : windows-latest
52
+ python : 311
53
+ platform_id : win32
54
+ - os : windows-latest
55
+ python : 312
56
+ platform_id : win32
57
+ - os : windows-latest
58
+ python : 313
59
+ platform_id : win32
60
60
61
- # # Windows 64 bit
62
- # - os: windows-latest
63
- # python: 39
64
- # platform_id: win_amd64
65
- # - os: windows-latest
66
- # python: 310
67
- # platform_id: win_amd64
68
- # - os: windows-latest
69
- # python: 311
70
- # platform_id: win_amd64
71
- # - os: windows-latest
72
- # python: 312
73
- # platform_id: win_amd64
74
- # - os: windows-latest
75
- # python: 313
76
- # platform_id: win_amd64
61
+ # Windows 64 bit
62
+ - os : windows-latest
63
+ python : 39
64
+ platform_id : win_amd64
65
+ - os : windows-latest
66
+ python : 310
67
+ platform_id : win_amd64
68
+ - os : windows-latest
69
+ python : 311
70
+ platform_id : win_amd64
71
+ - os : windows-latest
72
+ python : 312
73
+ platform_id : win_amd64
74
+ - os : windows-latest
75
+ python : 313
76
+ platform_id : win_amd64
77
77
78
78
# Linux 64 bit manylinux2014
79
79
- os : ubuntu-latest
@@ -98,38 +98,38 @@ jobs:
98
98
manylinux_image : manylinux2014
99
99
100
100
# Linux aarch64
101
- # - os: ubuntu-latest
102
- # python: 39
103
- # platform_id: manylinux_aarch64
104
- # - os: ubuntu-latest
105
- # python: 310
106
- # platform_id: manylinux_aarch64
107
- # - os: ubuntu-latest
108
- # python: 311
109
- # platform_id: manylinux_aarch64
110
- # - os: ubuntu-latest
111
- # python: 312
112
- # platform_id: manylinux_aarch64
113
- # - os: ubuntu-latest
114
- # python: 313
115
- # platform_id: manylinux_aarch64
101
+ - os : ubuntu-latest
102
+ python : 39
103
+ platform_id : manylinux_aarch64
104
+ - os : ubuntu-latest
105
+ python : 310
106
+ platform_id : manylinux_aarch64
107
+ - os : ubuntu-latest
108
+ python : 311
109
+ platform_id : manylinux_aarch64
110
+ - os : ubuntu-latest
111
+ python : 312
112
+ platform_id : manylinux_aarch64
113
+ - os : ubuntu-latest
114
+ python : 313
115
+ platform_id : manylinux_aarch64
116
116
117
- # # MacOS x86_64
118
- # - os: macos-12
119
- # python: 39
120
- # platform_id: macosx_x86_64
121
- # - os: macos-12
122
- # python: 310
123
- # platform_id: macosx_x86_64
124
- # - os: macos-12
125
- # python: 311
126
- # platform_id: macosx_x86_64
127
- # - os: macos-12
128
- # python: 312
129
- # platform_id: macosx_x86_64
130
- # - os: macos-12
131
- # python: 313
132
- # platform_id: macosx_x86_64
117
+ # MacOS x86_64
118
+ - os : macos-12
119
+ python : 39
120
+ platform_id : macosx_x86_64
121
+ - os : macos-12
122
+ python : 310
123
+ platform_id : macosx_x86_64
124
+ - os : macos-12
125
+ python : 311
126
+ platform_id : macosx_x86_64
127
+ - os : macos-12
128
+ python : 312
129
+ platform_id : macosx_x86_64
130
+ - os : macos-12
131
+ python : 313
132
+ platform_id : macosx_x86_64
133
133
134
134
steps :
135
135
- uses : actions/checkout@v4
@@ -178,18 +178,18 @@ jobs:
178
178
matrix :
179
179
include :
180
180
# MacOS arm64
181
- # - os: macos-14
182
- # python: 39
183
- # platform_id: macosx_arm64
184
- # - os: macos-14
185
- # python: 310
186
- # platform_id: macosx_arm64
187
- # - os: macos-14
188
- # python: 311
189
- # platform_id: macosx_arm64
190
- # - os: macos-14
191
- # python: 312
192
- # platform_id: macosx_arm64
181
+ - os : macos-14
182
+ python : 39
183
+ platform_id : macosx_arm64
184
+ - os : macos-14
185
+ python : 310
186
+ platform_id : macosx_arm64
187
+ - os : macos-14
188
+ python : 311
189
+ platform_id : macosx_arm64
190
+ - os : macos-14
191
+ python : 312
192
+ platform_id : macosx_arm64
193
193
- os : macos-14
194
194
python : 313
195
195
platform_id : macosx_arm64
@@ -274,23 +274,23 @@ jobs:
274
274
# The pypi upload fails with non-linux containers, so grab the uploaded
275
275
# artifacts and run using those
276
276
# See: https://github.com/pypa/gh-action-pypi-publish/discussions/15
277
- # deploy:
278
- # name: Upload wheels to PyPI
279
- # # needs: [ test-package ]
280
- # needs: [ build-wheels, build-sdist, build-wheels-macos-arm64 ]
281
- # runs-on: ubuntu-latest
282
- # environment:
283
- # name: pypi
284
- # url: https://pypi.org/project/pylibjpeg-libjpeg/
285
- # permissions:
286
- # id-token: write
287
- #
288
- # steps:
289
- # - name: Download the wheels
290
- # uses: actions/download-artifact@v4
291
- # with:
292
- # path: dist/
293
- # merge-multiple: true
294
- #
295
- # - name: Publish package to PyPi
296
- # uses: pypa/gh-action-pypi-publish@release/v1
277
+ deploy :
278
+ name : Upload wheels to PyPI
279
+ # needs: [ test-package ]
280
+ needs : [ build-wheels, build-sdist, build-wheels-macos-arm64 ]
281
+ runs-on : ubuntu-latest
282
+ environment :
283
+ name : pypi
284
+ url : https://pypi.org/project/pylibjpeg-libjpeg/
285
+ permissions :
286
+ id-token : write
287
+
288
+ steps :
289
+ - name : Download the wheels
290
+ uses : actions/download-artifact@v4
291
+ with :
292
+ path : dist/
293
+ merge-multiple : true
294
+
295
+ - name : Publish package to PyPi
296
+ uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments