update repository references and improve script handling

This commit is contained in:
2025-03-19 14:07:51 +01:00
parent 448bd0f6b8
commit 51b0252b0e
40 changed files with 1135 additions and 134 deletions

View File

@@ -16,6 +16,7 @@ on:
jobs:
correct_path_filters:
if: github.repository_owner == 'alexbelgium'
runs-on: ubuntu-latest
steps:
- name: ↩️ Checkout
@@ -128,6 +129,20 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4
- name: Resolve Symlinks
run: |
# Find all symlinks and replace them with the real files or directories
find . -type l | while read -r link; do
target="$(readlink -f "$link")"
# Remove the symlink
rm "$link"
if [ -d "$target" ]; then
cp -R "$target" "$link"
else
cp "$target" "$link"
fi
done
- name: Get information
id: info
uses: home-assistant/actions/helpers/info@master
@@ -169,7 +184,7 @@ jobs:
- name: Build ${{ matrix.addon }} add-on
id: builderstep
if: steps.check.outputs.build_arch == 'true'
uses: home-assistant/builder@master
uses: home-assistant/builder@2025.02.0
env:
CAS_API_KEY: ${{ secrets.CAS_API_KEY }}
with: