Skip to content

Commit

Permalink
ci: upload fix
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Dynamos committed Jan 9, 2025
1 parent 28cb703 commit 5b65e11
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,27 @@ jobs:
run: |
pip install --find-links=dist materialyoucolor --no-index
python tests/test_all.py test_image.jpg 1
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: "artifact-python${{ matrix.python-version }}-os${{ matrix.os }}.tar.gz"
path: dist
deploy:
name: Publish to PyPI
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: "artifact-python${{ matrix.python-version }}-os${{ matrix.os }}.tar.gz"
path: dist
- name: Publish to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
packages_dir: dist/

0 comments on commit 5b65e11

Please sign in to comment.