Skip to content

Deal with spaces in parts of f-strings #79

Deal with spaces in parts of f-strings

Deal with spaces in parts of f-strings #79

Workflow file for this run

name: Semantic Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
concurrency: release
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.TRYCERATOPS_GITHUB_TOKEN }}
- name: Install poetry
shell: bash
run: pipx install poetry
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: poetry
- name: Install dependencies
run: poetry install --with=dev
# Can't use: relekang/python-semantic-release@master because
# it's running Python 3.7, and Tryceratops requires >=3.8
- name: Python Semantic Release
run: |
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
poetry run semantic-release publish -D commit_author="github-actions <[email protected]>"
env:
GH_TOKEN: ${{secrets.TRYCERATOPS_GITHUB_TOKEN}}
PYPI_TOKEN: ${{secrets.PYPI_TOKEN}}