Update Homey App Version #1
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: Update Homey App Version | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
type: choice | |
description: Version | |
required: true | |
default: patch | |
options: | |
- major | |
- minor | |
- patch | |
changelog: | |
type: string | |
description: Changelog | |
required: true | |
jobs: | |
main: | |
name: Update Homey App Version | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update Homey App Version | |
uses: athombv/github-action-homey-app-version@master | |
id: update_app_version | |
with: | |
version: ${{ inputs.version }} | |
changelog: ${{ inputs.changelog }} | |
- name: Commit & Push | |
run: | | |
git config --local user.name "github-actions[bot]" | |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git add -A | |
git commit -m "Update Homey App Version to v${{ steps.update_app_version.outputs.version }}" | |
git tag "v${{ steps.update_app_version.outputs.version }}" | |
git push origin HEAD --tags |