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 48dd2f3 commit e61d575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
pip install --find-links=dist materialyoucolor --no-index
python tests/test_all.py test_image.jpg 1
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
curl -L -o test_image.jpg "https://unsplash.com/photos/zQLd8RXbenw/download?ixid=M3wxMjA3fDB8MXx0b3BpY3x8NnNNVmpUTFNrZVF8fHx8fDJ8fDE3MzY0MDA3NTd8&force=true&w=2400"
- name: Setup, Build, Test and Audit
run: |
python_versions=("cp39" "cp310" "cp311" "cp312" "cp313")
python_versions=("cp310" "cp311" "cp312" "cp313" "cp39")
for version in "${python_versions[@]}"; do
/opt/python/$version-$version/bin/pip install --upgrade pip setuptools rich wheel requests pillow
Expand All @@ -40,7 +40,6 @@ jobs:
- name: Publish to PyPI
uses: pypa/[email protected]
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
Expand Down

0 comments on commit e61d575

Please sign in to comment.