Skip to content

Add Python 3.12 to test setup (#22) #11

Add Python 3.12 to test setup (#22)

Add Python 3.12 to test setup (#22) #11

Workflow file for this run

---
name: Release
on: # yamllint disable-line rule:truthy
push:
branches:
- master
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Dependencies
run: |
pip install poetry
poetry install
echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
- name: Get current version
id: get_version
run: echo version=$(poetry version -s) >> $GITHUB_OUTPUT
- uses: mukunku/[email protected]
id: version_exists_check
with:
tag: v${{steps.get_version.outputs.version}}
- name: Release
uses: softprops/action-gh-release@v1
if: steps.version_exists_check.outputs.exists != 'true'
with:
generate_release_notes: true
draft: true
name: ${{steps.get_version.outputs.version}}
tag_name: v${{steps.get_version.outputs.version}}