Skip to content

ci: try uv bump

ci: try uv bump #5

Workflow file for this run

name: Bump version

Check failure on line 1 in .github/workflows/bumpversion.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/bumpversion.yaml

Invalid workflow file

(Line: 30, Col: 9): Required property is missing: uses
on:
push:
branches:
- master
inputs:
bump_level:
description: "Bump level"
required: true
default: "patch"
type: choice
options:
- patch
- minor
- major
jobs:
bump_version:
runs-on: ubuntu-latest
name: 'Bump version, tag and create github release'
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Create bump and changelog
with:
github_token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
script: uv version bump ${{ github.event.inputs.bump_level }}
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: "${{ env.REVISION }}"
env:
GITHUB_TOKEN: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"