-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update github actions to newer version. Fixed issue with upload of re…
…lease artifacts. Fixed reference version for linux and windows builds, update changelog.
- Loading branch information
1 parent
d5ae05c
commit ab936af
Showing
3 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ env: | |
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
is_release_build: ${{ env.RELEASE_BUILD == '1' }} | ||
steps: | ||
- uses: jfrog/setup-jfrog-cli@v4 | ||
env: | ||
|
@@ -81,14 +83,10 @@ jobs: | |
path: macos_sdk | ||
|
||
- name: Check for release build | ||
id: check_release_build | ||
if: startsWith(github.ref, 'refs/tags/') | ||
run: | | ||
echo "Build release for $GITHUB_REF" | ||
echo "release_build=1" >> $GITHUB_OUTPUT | ||
outputs: | ||
is_release_build: ${{ steps.check_release_build.outputs.env.release_build == '1' }} | ||
echo "RELEASE_BUILD=1" >> $GITHUB_ENV | ||
build-linux: | ||
needs: setup | ||
|
@@ -129,8 +127,7 @@ jobs: | |
docker run --rm --privileged multiarch/qemu-user-static:register --reset | ||
./scripts/build/build-arch.sh --platform-tag $P --abi-tag $A --pylon-dir ./pylon-installer $ARGS | ||
# TODO: can we use v4 here? | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: build-results-${{ matrix.p }}-${{ matrix.a }} | ||
path: dist/* | ||
|
@@ -159,7 +156,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.9 - 3.12" | ||
|
||
|
@@ -181,7 +178,7 @@ jobs: | |
- name: Build wheels | ||
uses: pypa/[email protected] | ||
|
||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
|
||
|
@@ -210,7 +207,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.9 - 3.12" | ||
|
||
|
@@ -233,7 +230,7 @@ jobs: | |
PYLON_FRAMEWORK_ARM64: /Library/Frameworks | ||
PYLON_FRAMEWORK_X86_64: /Library/Frameworks | ||
|
||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters