mirror of
https://github.com/priyanshujain/torchmlx.git
synced 2026-10-02 19:17:13 +00:00
publish pytorchmlx
This commit is contained in:
1 parent
cf90000071
commit
fefdea2304
5 files changed
+35
-33
No files matched your search
@@ -87,6 +87,13 @@ jobs:
|
||||
if: steps.release.outputs.publish == 'true'
|
||||
run: uv tool run twine check dist/*
|
||||
|
||||
- name: publish package
|
||||
if: steps.release.outputs.publish == 'true'
|
||||
env:
|
||||
TWINE_USERNAME: __token__
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
||||
run: uv tool run twine upload --skip-existing --verbose dist/*
|
||||
|
||||
- name: create tag
|
||||
if: steps.release.outputs.publish == 'true' && steps.release.outputs.create_tag == 'true'
|
||||
env:
|
||||
@@ -95,13 +102,6 @@ jobs:
|
||||
git tag "$TAG" "$GITHUB_SHA"
|
||||
git push origin "$TAG"
|
||||
|
||||
- name: publish package
|
||||
if: steps.release.outputs.publish == 'true'
|
||||
env:
|
||||
TWINE_USERNAME: __token__
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
||||
run: uv tool run twine upload dist/*
|
||||
|
||||
- name: create github release
|
||||
if: steps.release.outputs.publish == 'true'
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user