mirror of
https://github.com/RiDDiX/home-assistant-addons.git
synced 2026-07-14 12:28:09 +08:00
feat: add hamh-alpha addon for testing pre-release versions
This commit is contained in:
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@@ -24,6 +24,12 @@ jobs:
|
||||
yq eval '.' hamh/config.yaml > /dev/null
|
||||
echo " hamh config is valid YAML"
|
||||
|
||||
- name: Validate hamh-alpha config
|
||||
run: |
|
||||
echo "Validating hamh-alpha/config.yaml..."
|
||||
yq eval '.' hamh-alpha/config.yaml > /dev/null
|
||||
echo " hamh-alpha config is valid YAML"
|
||||
|
||||
- name: Validate repository.yaml
|
||||
run: |
|
||||
echo "Validating repository.yaml..."
|
||||
@@ -32,7 +38,7 @@ jobs:
|
||||
|
||||
- name: Check required fields
|
||||
run: |
|
||||
for addon in hamh; do
|
||||
for addon in hamh hamh-alpha; do
|
||||
echo "Checking $addon required fields..."
|
||||
yq eval '.name' $addon/config.yaml > /dev/null || (echo "Missing name in $addon" && exit 1)
|
||||
yq eval '.version' $addon/config.yaml > /dev/null || (echo "Missing version in $addon" && exit 1)
|
||||
|
||||
6
.github/workflows/release-addons.yaml
vendored
6
.github/workflows/release-addons.yaml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
project:
|
||||
description: 'Project to release (hamh, hamh-beta)'
|
||||
description: 'Project to release (hamh, hamh-alpha)'
|
||||
required: true
|
||||
default: 'hamh'
|
||||
version:
|
||||
@@ -22,7 +22,7 @@ on:
|
||||
|
||||
# client_payload from repository_dispatch:
|
||||
# project: "hamh"
|
||||
# channel: "latest" | "beta"
|
||||
# channel: "latest" | "alpha"
|
||||
# version: "3.0.0"
|
||||
# changelogUrl: "https://..."
|
||||
|
||||
@@ -104,4 +104,4 @@ jobs:
|
||||
|
||||
See the main project for detailed changelog:
|
||||
https://github.com/riddix/home-assistant-matter-hub/releases
|
||||
generate_release_notes: false
|
||||
generate_release_notes: false
|
||||
|
||||
Reference in New Issue
Block a user