Skip to content

Commit c2efac8

Browse files
committed
update
1 parent 87ee64b commit c2efac8

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/matrix_builds.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
"${SYSTMP}/sbuild" --version
144144
145145
# Install squishy
146-
curl -fsSL "https://github.com/pkgforge/squishy-rs/releases/latest/download/squishy-${SOAR_TRIPLET}" \
146+
curl -fsSL "https://github.com/pkgforge/squishy-rs/releases/download/latest/squishy-${SOAR_TRIPLET}" \
147147
-o /tmp/squishy && sudo mv /tmp/squishy /usr/local/bin/squishy && sudo chmod +x /usr/local/bin/squishy
148148
squishy --version || true
149149
@@ -501,11 +501,26 @@ jobs:
501501
STATUS="skipped"
502502
fi
503503
504+
# Get GHCR URL if push was successful
505+
GHCR_URL="${GHCRPKG_URL:-}"
506+
507+
# Debug: show env vars related to push
508+
echo "::group::Debug: Push environment"
509+
echo "GHCRPKG_URL=${GHCRPKG_URL:-<not set>}"
510+
echo "PUSH_SUCCESSFUL=${PUSH_SUCCESSFUL:-<not set>}"
511+
echo "BUILD_FAILED=${BUILD_FAILED:-<not set>}"
512+
echo "SKIP_BUILD=${SKIP_BUILD:-<not set>}"
513+
echo "::endgroup::"
514+
504515
jq -n \
505516
--arg status "$STATUS" \
506517
--arg host "${{ matrix.target.host }}" \
507518
--arg url "${{ inputs.sbuild-url }}" \
508-
'{status: $status, host: $host, recipe_url: $url}' > "${SYSTMP}/build-status.json"
519+
--arg ghcr "$GHCR_URL" \
520+
'{status: $status, host: $host, recipe_url: $url, ghcr_url: $ghcr}' > "${SYSTMP}/build-status.json"
521+
522+
echo "Build status JSON:"
523+
cat "${SYSTMP}/build-status.json"
509524
510525
- name: Upload build status
511526
if: always()

0 commit comments

Comments
 (0)