From eca96828a4e75b5658de0ed639b4abbaba28c4cc Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 30 Nov 2026 17:50:25 +0100 Subject: [PATCH] Use the exact release asset for the Wayland package control --- .github/workflows/wayland-pen.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wayland-pen.yml b/.github/workflows/wayland-pen.yml index 827e112824..8dedf4d227 100644 --- a/.github/workflows/wayland-pen.yml +++ b/.github/workflows/wayland-pen.yml @@ -18,13 +18,14 @@ jobs: GH_TOKEN: ${{ github.token }} RELEASE_RUN: "46343667754" RELEASE_COMMIT: acaa80fc42aaa766b60ed7bf2f6a0b54852331c1 + ASSET_ID: "811437159" DEB_SHA256: 59c4a5a8b280051886dc2371f5224fb80e1a746c95914a66caf9ca08577667ec run: | sudo apt-get update -qq sudo apt-get install -y grim sway python3-pil libwayland-dev libwayland-bin test "$(gh run view "$RELEASE_RUN" --json headSha --jq .headSha)" = "$RELEASE_COMMIT" - gh run download "$RELEASE_RUN" -n release-linux-x86_64 -D "$RUNNER_TEMP/bundle" - deb="$(find "$RUNNER_TEMP/bundle" -name '*-linux-x86_64.deb' -print -quit)" + deb="$RUNNER_TEMP/vectorcraft.deb" + gh api "repos/$GITHUB_REPOSITORY/releases/assets/$ASSET_ID" -H 'Accept: application/octet-stream' > "$deb" test -f "$deb" echo "$DEB_SHA256 $deb" | sha256sum -c sudo apt-get install -y "$deb"