-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
49 additions
and
13 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,29 @@ on: | |
description: Changelog | ||
required: true | ||
|
||
|
||
jobs: | ||
main: | ||
uses: athombv/athom-github-workflow/.github/workflows/homey-app-version.yml@master | ||
secrets: inherit | ||
with: | ||
version: ${{ github.event.inputs.version }} | ||
changelog: ${{ github.event.inputs.changelog }} | ||
name: Update App Version | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Update App Version | ||
uses: athombv/github-action-homey-app-version@master | ||
id: update_app_version | ||
with: | ||
version: ${{ github.event.inputs.version }} | ||
changelog: ${{ github.event.inputs.changelog }} | ||
|
||
- name: Commit & Push | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Homey Github Actions Bot" | ||
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 |