Fix Free Games Claimer PR build context

This commit is contained in:
Alexandre
2026-07-17 09:59:48 +02:00
parent a72e03e88a
commit 6b46611a0b
3 changed files with 24 additions and 1 deletions

View File

@@ -93,6 +93,21 @@ jobs:
- name: ↩️ Checkout
uses: actions/checkout@v7
- name: Copy templates into addon build context
env:
ADDON: ${{ matrix.addon }}
run: |
set -euo pipefail
TEMPLATES_DIR=".templates"
ADDON_DIR="./$ADDON"
# Keep PR builds aligned with the production builder.
for script in ha_automodules.sh ha_autoapps.sh ha_entrypoint.sh bashio-standalone.sh ha_lsio.sh; do
if [ -f "$TEMPLATES_DIR/$script" ]; then
cp "$TEMPLATES_DIR/$script" "$ADDON_DIR/$script"
fi
done
- name: Gather addon info
id: information
uses: frenck/action-addon-information@v1.4

View File

@@ -1,3 +1,10 @@
## 2.0.1 (2026-07-17)
- Aligned the pull-request build context with the production builder by copying
the shared Home Assistant helper scripts before building the add-on.
- Fixed aarch64 and amd64 PR validation failing on unresolved Dockerfile
`COPY` instructions. Runtime and migration behavior are unchanged.
## 2.0.0 (2026-07-17)
- Replaced the abandoned `vogler/free-games-claimer` upstream with

View File

@@ -1,3 +1,4 @@
# Free Games Claimer Remaster
arch:
- aarch64
- amd64
@@ -95,5 +96,5 @@ schema:
slug: free_games_claimer
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "2.0.0"
version: "2.0.1"
webui: "[PROTO:ssl]://[HOST]:[PORT:6080]"