mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-05 15:41:23 +03:00
ci: make the pinned libdrmtap commit SHA literal
do not let an inherited DRMTAP_SHA override the verified commit in CI, so the tag/commit pair is immutable there. build.py keeps the env override for local forks.
This commit is contained in:
3
.github/workflows/flutter-build.yml
vendored
3
.github/workflows/flutter-build.yml
vendored
@@ -1710,7 +1710,8 @@ jobs:
|
||||
# this once rustdesk-org carries v0.4.13).
|
||||
export DRMTAP_REPO="https://github.com/fxd0h/libdrmtap"
|
||||
export DRMTAP_REF="v0.4.13"
|
||||
export DRMTAP_SHA="${DRMTAP_SHA:-c9cf0938f3b10a3d4a9eeb9c6f97aaa1606c6b4a}"
|
||||
# Literal (not overridable by an inherited env var) so the tag/commit pair is immutable in CI.
|
||||
export DRMTAP_SHA="c9cf0938f3b10a3d4a9eeb9c6f97aaa1606c6b4a"
|
||||
# Guard: refuse a loose/branch ref so a moving `main` can never silently
|
||||
# regress the pin. Only an EXACT vX.Y.Z tag is accepted (a strict anchored
|
||||
# match, so values like v0.4.13-ci or a branch that resolves under
|
||||
|
||||
Reference in New Issue
Block a user