Skip to content

Add phase abc power and energy #8

Add phase abc power and energy

Add phase abc power and energy #8

Workflow file for this run

name: Create Release
on:
push:
paths:
- 'custom_components/emonio/manifest.json'
- '.github/workflows/release.yml'
branches:
- main
jobs:
Create-Release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Extract version from manifest.json
id: extract_version
run: |
VERSION=$(jq -r '.version' custom_components/emonio/manifest.json)
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.VERSION }}
release_name: ${{ env.VERSION }}
body: "Release of version ${{ env.VERSION }}"
draft: false
prerelease: false