mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-17 02:17:20 +02:00
Remove temporary Claude build diagnostic
This commit is contained in:
51
.github/workflows/pr2841-diagnostic.yml
vendored
51
.github/workflows/pr2841-diagnostic.yml
vendored
@@ -1,51 +0,0 @@
|
|||||||
---
|
|
||||||
name: Claude Add-on Build Diagnostic
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
diagnose:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v7
|
|
||||||
|
|
||||||
- name: Gather add-on information
|
|
||||||
id: information
|
|
||||||
uses: frenck/action-addon-information@v1.4
|
|
||||||
with:
|
|
||||||
path: ./claude_desktop/
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v4
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v4
|
|
||||||
|
|
||||||
- name: Build aarch64 and capture tail
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
set +e
|
|
||||||
BUILD_FROM="$(jq -r '.build_from.aarch64 // empty' '${{ steps.information.outputs.build }}')"
|
|
||||||
docker buildx build \
|
|
||||||
--platform linux/arm64 \
|
|
||||||
--progress=plain \
|
|
||||||
--build-arg "BUILD_FROM=${BUILD_FROM}" \
|
|
||||||
--file claude_desktop/Dockerfile \
|
|
||||||
claude_desktop >build.log 2>&1
|
|
||||||
status=$?
|
|
||||||
tail -n 300 build.log >build-tail.log
|
|
||||||
printf 'build_status=%s\n' "$status" >build-status.txt
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
- name: Upload diagnostic log
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: claude-aarch64-build-log
|
|
||||||
path: |
|
|
||||||
build-tail.log
|
|
||||||
build-status.txt
|
|
||||||
retention-days: 1
|
|
||||||
Reference in New Issue
Block a user