Skip to content

Commit

Permalink
Bump actions/upload-artifact from 3 to 4
Browse files Browse the repository at this point in the history
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and Safihre committed Dec 18, 2023
1 parent 4e87aca commit 11f4fdb
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/ci_and_build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,27 @@ jobs:
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Build source distribution
run: python setup.py sdist

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_SKIP: pp* *i686* cp36* cp37*
CIBW_ARCHS_LINUX: ${{ matrix.linux_arch }}
CIBW_ARCHS_MACOS: universal2
CIBW_BUILD_VERBOSITY: 1
- uses: actions/upload-artifact@v3
- name: Upload wheel artifacts
uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
# The action/upload-artifact only allows unique filenames for whole run
- name: Build source distribution
if: runner.os == 'Linux' && matrix.linux_arch == 'aarch64'
run: python setup.py sdist
- name: Upload source distribution artifact
uses: actions/upload-artifact@v4
if: runner.os == 'Linux' && matrix.linux_arch == 'aarch64'
with:
path: |
./wheelhouse/*.whl
./dist/*.tar.gz
path: ./dist/*.tar.gz
- name: Publish to PyPI
env:
TWINE_USERNAME: '__token__'
Expand Down

0 comments on commit 11f4fdb

Please sign in to comment.