1. Bump Version #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 1. Bump Version | |
on: | |
workflow_dispatch: | |
inputs: | |
bump_type: | |
type: choice | |
description: "Choose bump version type:" | |
required: true | |
options: ["patch", "minor", "major"] | |
jobs: | |
bump_version: | |
name: Bump Version | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Bump version | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git config user.name "github-actions" | |
git config user.email "[email protected]" | |
./scripts/bump-version.sh -b=${{ inputs.bump_type }} -c -t -p |