We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a365a19 commit 253ecf5Copy full SHA for 253ecf5
.github/workflows/publish-fa4.yml
@@ -50,16 +50,14 @@ jobs:
50
publish-to-pypi:
51
needs: build
52
runs-on: ubuntu-latest
53
- environment:
54
- name: pypi
55
- url: https://pypi.org/p/flash-attn-4
56
- permissions:
57
- id-token: write
58
steps:
59
- name: Download distribution packages
60
uses: actions/download-artifact@v4
61
with:
62
name: python-package-distributions
63
path: dist/
64
- name: Publish to PyPI
65
- uses: pypa/gh-action-pypi-publish@release/v1
+ env:
+ TWINE_USERNAME: "__token__"
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
+ run: pip install twine && python -m twine upload dist/*
0 commit comments