Commit new version #1312
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: Commit new version | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'The latest version' | |
required: true | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: pwsh | |
working-directory: ${{ github.workspace }}/build | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Adjust Formula | |
run: ./build.ps1 -Version ${{ github.event.inputs.version }} | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "feat: Formula v${{ github.event.inputs.version }}" |