Skip to content

Commit

Permalink
Deving gh action is always a pleasure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Aug 5, 2024
1 parent 6933fcd commit a2aabb2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,9 @@ jobs:
# aws s3 sync --exact-timestamps ./bindings/python/dist "s3://safetensors-releases/python/$DIST_DIR"

- uses: actions/upload-artifact@v4
working-directory: ./bindings/python/
with:
name: pypi_files
path: dist
path: ./bindings/python/dist
build-sdist:
name: build sdist
needs: [lock_exists]
Expand All @@ -153,10 +152,9 @@ jobs:
# pip install awscli
# aws s3 sync --exact-timestamps ./bindings/python/dist "s3://safetensors-releases/python/$DIST_DIR"
- uses: actions/upload-artifact@v4
working-directory: ./bindings/python/
with:
name: pypi_files
path: dist
path: ./bindings/python/dist


upload_package:
Expand All @@ -179,10 +177,9 @@ jobs:
# pip install awscli
# aws s3 sync "s3://safetensors-releases/python/$DIST_DIR" ./bindings/python/dist
- uses: actions/download-artifact@v4
working-directory: ./bindings/python/
with:
name: pypi_files
path: dist
path: ./bindings/python/dist

- name: Upload to PyPi
working-directory: ./bindings/python
Expand Down

0 comments on commit a2aabb2

Please sign in to comment.