name: Build and Release on: push: tags: - 'v*' paths-ignore: - "README.md" jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.9" - name: Install dependencies run: | python -m pip install --upgrade pip pip install build - name: Build package run: python -m build - name: Archive artifacts uses: actions/upload-artifact@v4 with: name: dist path: dist/