Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
ci(windows-targets): fetch the PR base commit before comparing against it
Richie McIlroyfd05335c2e28
diff --git a/.github/workflows/windows-targets.yml b/.github/workflows/windows-targets.ymlindex aebfc9655..ca235f3a5 100644--- a/.github/workflows/windows-targets.yml+++ b/.github/workflows/windows-targets.yml@@ -44,6 +44,8 @@ jobs:$source = "crates/scap-targets/src/platform/win.rs"$patchedSource = [System.IO.File]::ReadAllBytes($source)try {+ git cat-file -e "$($env:BASE_SHA)^{commit}" 2>$null+ if ($LASTEXITCODE -ne 0) { git fetch --no-tags --depth=1 origin $env:BASE_SHA }$baseline = git show "$($env:BASE_SHA):$source"if ($LASTEXITCODE -ne 0) { throw "Could not load base Windows implementation" }$baseline | Set-Content -Encoding utf8 $source