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
|
- name: Build source distribution and pure-python wheel
|
||||||
run: |
|
run: |
|
||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
name: pure
|
||||||
path: |
|
path: |
|
||||||
dist/*.whl
|
dist/*.whl
|
||||||
dist/*.tar.gz
|
dist/*.tar.gz
|
||||||
@ -70,8 +71,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
|
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
|
||||||
CIBW_ARCHS: ${{ matrix.arch }}
|
CIBW_ARCHS: ${{ matrix.arch }}
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
name: wheels
|
||||||
path: wheelhouse/*.whl
|
path: wheelhouse/*.whl
|
||||||
|
|
||||||
build_arch_wheels:
|
build_arch_wheels:
|
||||||
@ -96,8 +98,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CIBW_BUILD: cp${{ matrix.python }}-*
|
CIBW_BUILD: cp${{ matrix.python }}-*
|
||||||
CIBW_ARCHS: ${{ matrix.arch }}
|
CIBW_ARCHS: ${{ matrix.arch }}
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
name: aarch64-wheels
|
||||||
path: wheelhouse/*.whl
|
path: wheelhouse/*.whl
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
@ -110,9 +113,10 @@ jobs:
|
|||||||
# only run if the commit is tagged...
|
# only run if the commit is tagged...
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifact
|
# so that all artifacts are downloaded in the same directory specified by 'path'
|
||||||
|
merge-multiple: true
|
||||||
path: dist
|
path: dist
|
||||||
- uses: pypa/gh-action-pypi-publish@v1.8.11
|
- uses: pypa/gh-action-pypi-publish@v1.8.11
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user