Skip to content

Commit

Permalink
Download counters (#117)
Browse files Browse the repository at this point in the history
* Create release.yaml

* Update hacs.json

* v6.1.1
  • Loading branch information
TimSoethout authored Oct 31, 2024
1 parent 1e3fe16 commit 4e684ba
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Release"

on:
release:
types:
- "published"

permissions: {}

jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
permissions:
contents: write
steps:
- name: "Checkout the repository"
uses: "actions/[email protected]"

- name: "ZIP the integration directory"
shell: "bash"
run: |
cd "${{ github.workspace }}/custom_components/sems"
zip sems.zip -r ./
- name: "Upload the ZIP file to the release"
uses: "softprops/[email protected]"
with:
files: ${{ github.workspace }}/custom_components/sems/sems.zip
2 changes: 1 addition & 1 deletion custom_components/sems/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/TimSoethout/goodwe-sems-home-assistant/issues",
"requirements": [],
"version": "6.1.0"
"version": "6.1.1"
}
2 changes: 2 additions & 0 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"name": "GoodWe SEMS API",
"content_in_root": false,
"zip_release": true,
"filename": "sems.zip",
"homeassistant": "2024.5"
}

0 comments on commit 4e684ba

Please sign in to comment.