Skip to content

Commit

Permalink
Please work
Browse files Browse the repository at this point in the history
  • Loading branch information
reverendbedford committed Oct 31, 2024
1 parent 52b275f commit 689b5a3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: packages
name: packages-${{matrix.os}}

build_sdist:
name: Build source distribution
Expand All @@ -53,16 +53,33 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz
name: packages
name: packages-source

upload_pypi:
upload_pypi_wheel:
needs: [build_wheels_linux_mac, build_sdist]
runs-on: ubuntu-latest
name: Upload packages to pypi
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/[email protected]
with:
name: packages-${{matrix.os}}
path: dist
- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PIPY_PASSWORD }}

upload_pypi_source:
needs: [build_wheels_linux_mac, build_sdist]
runs-on: ubuntu-latest
name: Upload packages to pypi
steps:
- uses: actions/[email protected]
with:
name: packages
name: packages-source
path: dist
- uses: pypa/gh-action-pypi-publish@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: packages
name: packages-${{matrix.os}}

test_sdist:
name: Test source distribution on linux
Expand Down

0 comments on commit 689b5a3

Please sign in to comment.