24
24
jobs :
25
25
setup :
26
26
runs-on : ubuntu-latest
27
+ outputs :
28
+ is_release_build : ${{ env.RELEASE_BUILD == '1' }}
27
29
steps :
28
30
- uses : jfrog/setup-jfrog-cli@v4
29
31
env :
@@ -81,14 +83,10 @@ jobs:
81
83
path : macos_sdk
82
84
83
85
- name : Check for release build
84
- id : check_release_build
85
86
if : startsWith(github.ref, 'refs/tags/')
86
87
run : |
87
88
echo "Build release for $GITHUB_REF"
88
- echo "release_build=1" >> $GITHUB_OUTPUT
89
-
90
- outputs :
91
- is_release_build : ${{ steps.check_release_build.outputs.env.release_build == '1' }}
89
+ echo "RELEASE_BUILD=1" >> $GITHUB_ENV
92
90
93
91
build-linux :
94
92
needs : setup
@@ -129,8 +127,7 @@ jobs:
129
127
docker run --rm --privileged multiarch/qemu-user-static:register --reset
130
128
./scripts/build/build-arch.sh --platform-tag $P --abi-tag $A --pylon-dir ./pylon-installer $ARGS
131
129
132
- # TODO: can we use v4 here?
133
- - uses : actions/upload-artifact@v3
130
+ - uses : actions/upload-artifact@v4
134
131
with :
135
132
name : build-results-${{ matrix.p }}-${{ matrix.a }}
136
133
path : dist/*
@@ -159,7 +156,7 @@ jobs:
159
156
- uses : actions/checkout@v4
160
157
161
158
- name : Install Python
162
- uses : actions/setup-python@v4
159
+ uses : actions/setup-python@v5
163
160
with :
164
161
python-version : " 3.9 - 3.12"
165
162
@@ -181,8 +178,9 @@ jobs:
181
178
- name : Build wheels
182
179
183
180
184
- - uses : actions/upload-artifact@v3
181
+ - uses : actions/upload-artifact@v4
185
182
with :
183
+ name : build-results-windows
186
184
path : ./wheelhouse/*.whl
187
185
188
186
- name : Upload Release Asset
@@ -210,7 +208,7 @@ jobs:
210
208
- uses : actions/checkout@v4
211
209
212
210
- name : Install Python
213
- uses : actions/setup-python@v4
211
+ uses : actions/setup-python@v5
214
212
with :
215
213
python-version : " 3.9 - 3.12"
216
214
@@ -233,8 +231,9 @@ jobs:
233
231
PYLON_FRAMEWORK_ARM64 : /Library/Frameworks
234
232
PYLON_FRAMEWORK_X86_64 : /Library/Frameworks
235
233
236
- - uses : actions/upload-artifact@v3
234
+ - uses : actions/upload-artifact@v4
237
235
with :
236
+ name : build-results-macos
238
237
path : ./wheelhouse/*.whl
239
238
240
239
- name : Upload Release Asset
0 commit comments