Skip to content

Commit

Permalink
chore(ci): fixed artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
flozz committed Jan 8, 2024
1 parent 56d7d9f commit e0eb7a5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/python-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: "Build and Publish Python Packages"

on:
push:
tags: "v[0-9]+.[0-9]+.[0-9]+"
tags:
- "v[0-9]+\\.[0-9]+\\.[0-9]+"
- "v[0-9]+\\.[0-9]+\\.[0-9]+-[0-9]+"

jobs:

Expand Down Expand Up @@ -68,7 +70,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 +91,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 e0eb7a5

Please sign in to comment.