Skip to content

temp tester

temp tester #4

Workflow file for this run

name: temp tester
on:
workflow_dispatch:
inputs:
vt:
type: choice
description: 'What is the version type (patch, minor major)'
required: true
options:
- patch
- minor
- major
default: 'patch'
jobs:
testing:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[build]"
- name: Bump version
run: |
bumpver update --no-fetch --${{ github.event.inputs.vt }}
echo "ICATCHER_VER=$(bumpver show -n | awk 'END{print $NF}')" >> $GITHUB_ENV
- name: Tag version
run: |
git tag
git tag ${{ env.ICATCHER_VER }} master
git tag
- name: Build package
run: python -m build