Verify the archived Linux package against its signed release digest before GUI testing

This commit is contained in:
Codex
2026-11-30 17:47:19 +01:00
parent 26ec475b02
commit e257ecdc70
+9 -3
View File
@@ -16,12 +16,18 @@ jobs:
- name: Install compositor and VectorCraft
env:
GH_TOKEN: ${{ github.token }}
VERSION: 0.25.0
RELEASE_RUN: "46343667754"
RELEASE_COMMIT: acaa80fc42aaa766b60ed7bf2f6a0b54852331c1
DEB_SHA256: 59c4a5a8b280051886dc2371f5224fb80e1a746c95914a66caf9ca08577667ec
run: |
sudo apt-get update -qq
sudo apt-get install -y grim sway python3-pil libwayland-dev libwayland-bin
gh release download "v$VERSION" -p "*-linux-x86_64.deb" -D "$RUNNER_TEMP/bundle"
sudo apt-get install -y "$RUNNER_TEMP"/bundle/*.deb
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)"
test -f "$deb"
echo "$DEB_SHA256 $deb" | sha256sum -c
sudo apt-get install -y "$deb"
- name: Capture Pen pointer on the canvas
run: dbus-run-session -- bash .github/qa/wayland-pen.sh
- if: always()