Skip to content

Update version.yml

Update version.yml #23

Workflow file for this run

name: Display version
on: [push]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build setuptools-git-versioning<2
- name: Display version
run: |
setuptools-git-versioning -v >> $GITHUB_STEP_SUMMARY