update repository references and improve script handling
This commit is contained in:
17
.github/workflows/onpush_builder.yaml
vendored
17
.github/workflows/onpush_builder.yaml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user