chore(deps) Update all non-major dependencies #57
This file contains 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: [master] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Poetry | |
uses: snok/install-poetry@v1 | |
- name: Build | |
run: | | |
poetry install | |
poetry run python build.py | |
poetry run black . | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v3 | |
id: semantic | |
with: | |
semantic_version: 18 | |
extra_plugins: | | |
@semantic-release/changelog@6 | |
@semantic-release/exec | |
@semantic-release/git@10 | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }} | |
- name: Publish package | |
if: steps.semantic.outputs.new_release_published == 'true' | |
uses: JRubics/[email protected] | |
with: | |
pypi_token: ${{ secrets.PYPI_API_TOKEN }} |