Skip to content

Commit

Permalink
ci: update upload and download GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gnikit committed Jan 2, 2024
1 parent 086f4e6 commit 4ae8e5d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
python -m pip install wheel>=0.40.0
wheel tags --python-tag py3 --abi-tag none --remove ./wheelhouse/*.whl
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: python-wheels
name: python-wheels-${{ matrix.sys.os }}
path: ./wheelhouse/*.whl

publish:
Expand All @@ -45,10 +45,11 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: python-wheels
pattern: python-wheels*
path: dist
merge-multiple: true

- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
Expand Down

0 comments on commit 4ae8e5d

Please sign in to comment.