From 49af0f2fa6215e27e252fd9efff50df895850a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Mon, 4 Mar 2024 23:54:52 +0100 Subject: [PATCH] use local patches to build cache --- .github/workflows/update-cache.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/update-cache.yml b/.github/workflows/update-cache.yml index 72c923a..a9fd222 100644 --- a/.github/workflows/update-cache.yml +++ b/.github/workflows/update-cache.yml @@ -20,6 +20,20 @@ jobs: with: repository: 'bevyengine/bevy' + - name: Checkout patches + uses: actions/checkout@v4 + with: + path: 'runner-patches' + + - name: Apply patches + shell: pwsh + run: | + Get-ChildItem "runner-patches/patches" -Filter *.patch | + Foreach-Object { + Write-Output "Processing $($_.FullName)" + git apply --ignore-whitespace $($_.FullName) + } + - name: Setup Rust uses: dtolnay/rust-toolchain@stable