Skip to content

feat: git-based versioning schema #4

feat: git-based versioning schema

feat: git-based versioning schema #4

Workflow file for this run

name: Display version
on: [push, pull_request]
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
- name: Display version
run: |
setuptools-git-versioning -v >> $GITHUB_STEP_SUMMARY