2424jobs :
2525 setup :
2626 runs-on : ubuntu-latest
27+ outputs :
28+ is_release_build : ${{ env.RELEASE_BUILD == '1' }}
2729 steps :
2830 - uses : jfrog/setup-jfrog-cli@v4
2931 env :
@@ -81,14 +83,10 @@ jobs:
8183 path : macos_sdk
8284
8385 - name : Check for release build
84- id : check_release_build
8586 if : startsWith(github.ref, 'refs/tags/')
8687 run : |
8788 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
9290
9391 build-linux :
9492 needs : setup
@@ -129,8 +127,7 @@ jobs:
129127 docker run --rm --privileged multiarch/qemu-user-static:register --reset
130128 ./scripts/build/build-arch.sh --platform-tag $P --abi-tag $A --pylon-dir ./pylon-installer $ARGS
131129
132- # TODO: can we use v4 here?
133- - uses : actions/upload-artifact@v3
130+ - uses : actions/upload-artifact@v4
134131 with :
135132 name : build-results-${{ matrix.p }}-${{ matrix.a }}
136133 path : dist/*
@@ -159,7 +156,7 @@ jobs:
159156 - uses : actions/checkout@v4
160157
161158 - name : Install Python
162- uses : actions/setup-python@v4
159+ uses : actions/setup-python@v5
163160 with :
164161 python-version : " 3.9 - 3.12"
165162
@@ -181,8 +178,9 @@ jobs:
181178 - name : Build wheels
182179 uses : pypa/cibuildwheel@v2.19
183180
184- - uses : actions/upload-artifact@v3
181+ - uses : actions/upload-artifact@v4
185182 with :
183+ name : build-results-windows
186184 path : ./wheelhouse/*.whl
187185
188186 - name : Upload Release Asset
@@ -210,7 +208,7 @@ jobs:
210208 - uses : actions/checkout@v4
211209
212210 - name : Install Python
213- uses : actions/setup-python@v4
211+ uses : actions/setup-python@v5
214212 with :
215213 python-version : " 3.9 - 3.12"
216214
@@ -233,8 +231,9 @@ jobs:
233231 PYLON_FRAMEWORK_ARM64 : /Library/Frameworks
234232 PYLON_FRAMEWORK_X86_64 : /Library/Frameworks
235233
236- - uses : actions/upload-artifact@v3
234+ - uses : actions/upload-artifact@v4
237235 with :
236+ name : build-results-macos
238237 path : ./wheelhouse/*.whl
239238
240239 - name : Upload Release Asset
0 commit comments