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 c7c1437
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 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: artifact-wheel-${{ matrix.runs-on }}-${{ matrix.python_version }}-${{ matrix.architecture }}
path: ./wheelhouse/*.whl

Source:
Expand All @@ -81,12 +82,13 @@ jobs:

- name: Build source distribution
run: |
pip install .
python setup.py sdist
python -m pip install build
python -m build --sdist
- name: Upload wheel as an artifact
- name: Upload source distribution as an artifact
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # pin v4.3.6
with:
name: artifact-sdist
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: artifact-*
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 c7c1437

Please sign in to comment.