Dev branch, release tags, readme changes, + debug log start #38
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: Validate | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
validate: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: Get the latest tag | |
id: get_tag | |
run: echo ::set-output name=tag::$(git describe --tags --abbrev=0) | |
- name: Set version to the latest tag | |
run: | | |
sed -i "s/GITHUB_RELEASE_VERSION/${{ steps.get_tag.outputs.tag }}/g" custom_components/ankermake/manifest.json | |
sed -i "s/GITHUB_RELEASE_VERSION/${{ steps.get_tag.outputs.tag }}/g" custom_components/ankermake/const.py | |
- uses: "home-assistant/actions/hassfest@master" |