Skip to content

Commit

Permalink
Merge pull request #40 from breezy-team/artifact
Browse files Browse the repository at this point in the history
Upgrade artifact
  • Loading branch information
jelmer committed Jun 7, 2024
2 parents 171bc6b + 61a0119 commit 7bf81f3
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact-{{ matrix.os }}
path: ./wheelhouse/*.whl

build-sdist:
Expand All @@ -43,8 +44,9 @@ jobs:
- name: Build sdist
run: python -m build --sdist
- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact-sdist
path: ./dist/*.tar.gz

test-sdist:
Expand All @@ -58,9 +60,9 @@ jobs:
python -m pip install --upgrade pip
pip install twine
- name: Download sdist
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: artifact
name: artifact-sdist
path: dist
- name: Test sdist
run: twine check dist/*
Expand All @@ -80,9 +82,10 @@ jobs:
url: https://pypi.org/p/fastbencode
steps:
- name: Download distributions
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: artifact
merge-multiple: true
pattern: artifact-*
path: dist
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 7bf81f3

Please sign in to comment.