Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
touilleMan committed Aug 7, 2024
1 parent f3a4af6 commit 70eb9e3
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
- name: Upload wheel as an artifact
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # pin v4.3.6
with:
name: wheel-${{ matrix.runs-on }}-${{ matrix.python_version }}-${{ matrix.architecture }}
path: ./wheelhouse/*.whl

Source:
Expand All @@ -87,6 +88,7 @@ jobs:
- name: Upload wheel as an artifact
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # pin v4.3.6
with:
name: wheel-source
path: ./dist/*.tar.gz

Release:
Expand All @@ -98,11 +100,17 @@ jobs:
- name: Download wheels and source distribution
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # pin v4.1.8
with:
name: artifact
pattern: wheel-*
path: dist
merge-multiple: true

- name: Publish on PyPI
uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # pin v1.9.0
with:
user: __token__
password: ${{ secrets.pypi_password }}
- name: SHOW ME WHAT YOU GOT
run: |
ls -lh
ls -lh dist
# - name: Publish on PyPI
# uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # pin v1.9.0
# with:
# user: __token__
# password: ${{ secrets.pypi_password }}

0 comments on commit 70eb9e3

Please sign in to comment.