Skip to content

Workflow file for this run

name: project_version
run-name: Get version from poetry
on:
workflow_call
jobs:
runs-on: ubuntu-latest

Check failure on line 8 in .github/workflows/project_version.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/project_version.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
outputs:
project_version: ${{ steps.version.outputs.project_version }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Get version from poetry
id: version
run: |
echo project_version=$(poetry version --short)" >> "$GITHUB_OUTPUT"