Bump gradio from 3.35.2 to 4.44.1 #13
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: release | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - labeled | |
| - opened | |
| - edited | |
| - synchronize | |
| - reopened | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cache dependencies | |
| id: pip-cache | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip | |
| restore-keys: | | |
| ${{ runner.os }}-pip | |
| - name: Install dependencies | |
| run: | | |
| pip install --upgrade pip | |
| pip install wheel | |
| # see https://github.com/pypa/twine/issues/1216#issuecomment-2629069669 | |
| pip install "packaging>=24.2" | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Build and publish to PyPI | |
| if: ${{ github.event_name == 'push' }} | |
| env: | |
| TWINE_USERNAME: __token__ | |
| TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }} | |
| run: | | |
| make dist | |
| ls dist/ | |
| tar tvf dist/llavaction-*.tar.gz | |
| python3 -m twine upload dist/* |