Skip to content

Commit 253ecf5

Browse files
committed
Try to publish to PyPI again
1 parent a365a19 commit 253ecf5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/publish-fa4.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,14 @@ jobs:
5050
publish-to-pypi:
5151
needs: build
5252
runs-on: ubuntu-latest
53-
environment:
54-
name: pypi
55-
url: https://pypi.org/p/flash-attn-4
56-
permissions:
57-
id-token: write
5853
steps:
5954
- name: Download distribution packages
6055
uses: actions/download-artifact@v4
6156
with:
6257
name: python-package-distributions
6358
path: dist/
6459
- name: Publish to PyPI
65-
uses: pypa/gh-action-pypi-publish@release/v1
60+
env:
61+
TWINE_USERNAME: "__token__"
62+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
63+
run: pip install twine && python -m twine upload dist/*

0 commit comments

Comments
 (0)