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:
Fabien LOISON 2024-01-06 17:31:20 +01:00
parent b946eb5f2a
commit fce71f5f5a
No known key found for this signature in database
GPG Key ID: FF90CA148348048E
1 changed files with 3 additions and 3 deletions

View File

@ -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