Merge pull request #979 from IQTLabs/renovate/pylint-4.x #984
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: | |
| branches: main | |
| tags: 'v*' | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| with: | |
| virtualenvs-create: true | |
| virtualenvs-in-project: true | |
| - name: Build package | |
| id: build_and_publish_packages | |
| run: | | |
| sudo apt-get update && \ | |
| sudo apt-get install -yq --no-install-recommends git python3 python3-dev && \ | |
| poetry build && \ | |
| poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }} | |
| if: github.repository == 'iqtlabs/faucetconfrpc' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') |