mirror of https://github.com/wanadev/yoga.git
chore(ci): Updated python-package workflow to fix an issue caused by a breaking change in actions/upload-artifact@v4 (see https://github.com/actions/upload-artifact/issues/478)
This commit is contained in:
parent
b946eb5f2a
commit
fce71f5f5a
|
@ -3,7 +3,7 @@ name: "Build and Publish Python Packages"
|
|||
|
||||
on:
|
||||
push:
|
||||
tags: "v[0-9]+.[0-9]+.[0-9]+"
|
||||
tags: "v[0-9]+.[0-9]+.[0-9]+(-[0-9]+)?"
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -68,7 +68,7 @@ jobs:
|
|||
- name: "Upload artifacts"
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels
|
||||
name: wheels-${{ matrix.os }}
|
||||
path: ./wheelhouse/*.whl
|
||||
retention-days: 1
|
||||
|
||||
|
@ -89,7 +89,7 @@ jobs:
|
|||
run: |
|
||||
mkdir dist/
|
||||
mv sdist/* dist/
|
||||
mv wheels/*.whl dist/
|
||||
mv wheels-*/*.whl dist/
|
||||
|
||||
- name: "Publish packages on PyPI"
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
|
|
Loading…
Reference in New Issue