Skip to content

Commit

Permalink
Bump actions/upload-artifact from 3 to 4 (#108)
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]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 19, 2023
1 parent 4e87aca commit 65032b8
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 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,29 @@ 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
name: Wheels ${{ matrix.os }} ${{ matrix.linux_arch }}
# 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: Source distribution
- name: Publish to PyPI
env:
TWINE_USERNAME: '__token__'
Expand Down

0 comments on commit 65032b8

Please sign in to comment.