Merge pull request #3415 from fonttools/fix-upload-artifacts
[CI] adapt to new upload/download-artifact changes
This commit is contained in:
commit
7572a67146
14
.github/workflows/wheels.yml
vendored
14
.github/workflows/wheels.yml
vendored
@ -32,8 +32,9 @@ jobs:
|
||||
- name: Build source distribution and pure-python wheel
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: pure
|
||||
path: |
|
||||
dist/*.whl
|
||||
dist/*.tar.gz
|
||||
@ -70,8 +71,9 @@ jobs:
|
||||
env:
|
||||
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
|
||||
CIBW_ARCHS: ${{ matrix.arch }}
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels
|
||||
path: wheelhouse/*.whl
|
||||
|
||||
build_arch_wheels:
|
||||
@ -96,8 +98,9 @@ jobs:
|
||||
env:
|
||||
CIBW_BUILD: cp${{ matrix.python }}-*
|
||||
CIBW_ARCHS: ${{ matrix.arch }}
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: aarch64-wheels
|
||||
path: wheelhouse/*.whl
|
||||
|
||||
deploy:
|
||||
@ -110,9 +113,10 @@ jobs:
|
||||
# only run if the commit is tagged...
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: artifact
|
||||
# so that all artifacts are downloaded in the same directory specified by 'path'
|
||||
merge-multiple: true
|
||||
path: dist
|
||||
- uses: pypa/gh-action-pypi-publish@v1.8.11
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user