vet

Mirror of Vet, an AI code review tool
git clone git://git.laack.co/vet.git
Log | Files | Refs | README | LICENSE

publish-pypi.yml (521B)


      1 name: Publish / PyPI
      2 on:
      3   push:
      4     tags:
      5       - "v*"
      6 
      7 jobs:
      8   pypi:
      9     runs-on: ubuntu-latest
     10     steps:
     11       - uses: actions/checkout@v4
     12       - uses: actions/setup-python@v5
     13         with:
     14           python-version: "3.12"
     15       - name: Install build tools
     16         run: python -m pip install --upgrade pip build
     17       - name: Build package
     18         run: python -m build
     19       - name: Publish to PyPI
     20         uses: pypa/gh-action-pypi-publish@release/v1
     21         with:
     22           password: ${{ secrets.PYPI_API_TOKEN }}