fix: bump epaper-dithering version to support GRAYSCALE_8 and GRAYSCA… #89
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 Please | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| id-token: write # For PyPI trusted publishing | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: googleapis/release-please-action@v4 | |
| id: release | |
| with: | |
| release-type: python | |
| package-name: py-opendisplay | |
| bump-minor-pre-major: true | |
| bump-patch-for-minor-pre-major: true | |
| # The following steps only run if a release was created | |
| - name: Checkout code | |
| if: ${{ steps.release.outputs.release_created }} | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| if: ${{ steps.release.outputs.release_created }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install uv | |
| if: ${{ steps.release.outputs.release_created }} | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Install dependencies | |
| if: ${{ steps.release.outputs.release_created }} | |
| run: uv sync | |
| # - name: Run tests | |
| # if: ${{ steps.release.outputs.release_created }} | |
| # run: uv run pytest tests/ -v | |
| # - name: Run linter | |
| # if: ${{ steps.release.outputs.release_created }} | |
| # run: uv run ruff check . | |
| - name: Build package | |
| if: ${{ steps.release.outputs.release_created }} | |
| run: uv build | |
| - name: Publish to PyPI | |
| if: ${{ steps.release.outputs.release_created }} | |
| uses: pypa/gh-action-pypi-publish@release/v1 |