Skip to content

v1.0.1

v1.0.1 #5

Workflow file for this run

name: Build
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get version
id: version
uses: home-assistant/actions/helpers/version@master
- name: Patch manifest and zip
run: |
sed -i 's/0.0.0/${{ steps.version.outputs.version }}/' custom_components/heatger/manifest.json
cd custom_components/heatger/
zip -r ../../heatger.zip ./* -x '.*'
- uses: JasonEtco/upload-to-release@master
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
args: ./heatger.zip application/zip