Skip to content

Commit

Permalink
chore(ci): Updated python-package workflow to fix an issue caused by …
Browse files Browse the repository at this point in the history
…a breaking change in actions/upload-artifact@v4 (see actions/upload-artifact#478)
  • Loading branch information
flozz committed Jan 6, 2024
1 parent b946eb5 commit fce71f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit fce71f5

Please sign in to comment.