CoolFace
Apppublic

danielchat/docker

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes
python-publish.yml37 linesDownload Raw Back to workflows
1name: Upload Python Package2 3on:4  workflow_dispatch:5 6  release:7    types: [ published ]8 9permissions:10  contents: read11 12jobs:13  deploy:14    runs-on: ubuntu-latest15 16    steps:17      - uses: actions/checkout@v318 19      - name: Set up Python20        uses: actions/setup-python@v421        with:22          python-version: 3.723 24      - name: Install dependencies25        run: |26          python -m pip install --upgrade pip27          pip install build28 29      - name: Build package30        run: python -m build31 32      - name: Publish package33        uses: pypa/gh-action-pypi-publish@release/v134        with:35          user: __token__36          password: ${{ secrets.PYPI_API_TOKEN }}37