Skip to content

Commit ce6fb8b

Browse files
authored
fix(webrtc-sys-build): add temporary workaround to fix ci in Windows (#665)
* add context * oops * test * Revert "test" This reverts commit 5676e12. * test * use _all
1 parent 3c272d7 commit ce6fb8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webrtc-sys/build/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ pub fn configure_jni_symbols() -> Result<()> {
183183

184184
pub fn download_webrtc() -> Result<()> {
185185
let dir = scratch::path(SCRATH_PATH);
186+
// temporary fix to avoid github workflow issue
187+
fs::create_dir_all(&dir).context("Failed to create scratch_path")?;
186188
let flock = File::create(dir.join(".lock"))
187189
.context("Failed to create lock file for WebRTC download")?;
188190
flock.lock_exclusive().context("Failed to acquire exclusive lock for WebRTC download")?;

0 commit comments

Comments
 (0)