Spaces:
Build error
Build error
Download .github/workflows/publish.yml from minhtudragon/headroom_3: direct link, hf CLI and curl.
- Browser
- Download file 609 Bytes
-
https://huggingface.co/spaces/minhtudragon/headroom_3/resolve/51c9c1a2f3409d5e91c8ad3475904620fc1152cc/.github/workflows/publish.yml
- Command line
-
hf download hf://spaces/minhtudragon/headroom_3@51c9c1a2f3409d5e91c8ad3475904620fc1152cc/.github/workflows/publish.yml
-
curl -L -o publish.yml https://huggingface.co/spaces/minhtudragon/headroom_3/resolve/51c9c1a2f3409d5e91c8ad3475904620fc1152cc/.github/workflows/publish.yml
609 Bytes
| name: Publish to PyPI | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| environment: pypi | |
| permissions: | |
| id-token: write # For trusted publishing | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install build tools | |
| run: | | |
| python -m pip install --upgrade pip build | |
| - name: Build package | |
| run: | | |
| python -m build | |
| - name: Publish to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |