Spaces:
Configuration error
Configuration error
Download .github/workflows/pypi-release.yml from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 839 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/.github/workflows/pypi-release.yml
- Command line
-
hf download hf://spaces/flyingdarkdev/README/.github/workflows/pypi-release.yml
-
curl -L -o pypi-release.yml https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/.github/workflows/pypi-release.yml
839 Bytes
| # Publishes the OpenHands PyPi package | |
| name: Publish PyPi Package | |
| # Triggered manually | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| reason: | |
| description: 'Reason for manual trigger' | |
| required: true | |
| default: '' | |
| jobs: | |
| release: | |
| runs-on: blacksmith-4vcpu-ubuntu-2204 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: useblacksmith/setup-python@v6 | |
| with: | |
| python-version: 3.12 | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1.4.1 | |
| with: | |
| virtualenvs-in-project: true | |
| virtualenvs-path: ~/.virtualenvs | |
| - name: Install Poetry Dependencies | |
| run: poetry install --no-interaction --no-root | |
| - name: Build poetry project | |
| run: ./build.sh | |
| - name: publish | |
| run: poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }} | |