From 1f916202b3c813e0e6fcb7932476315fb7b259b5 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 14 Feb 2024 20:56:28 +0100 Subject: cache the qemu build directory including the copied DLLs --- .github/workflows/build.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 699e5cd..10d0a3c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,15 @@ jobs: - name: Checkout the sources uses: actions/checkout@v4 + - name: Cache build dir + id: qemu-cached-build + uses: actions/cache@v4 + with: + path: qemu/build + key: v8.2.1-1-qemu-cached-build + - name: Setup mingw build environment + if: steps.qemu-cached-build.outputs.cache-hit != 'true' uses: msys2/setup-msys2@v2 with: update: true @@ -69,13 +77,6 @@ jobs: python-setuptools mingw-w64-x86_64-gtk3 - - name: Cache build dir - id: qemu-cached-build - uses: actions/cache@v4 - with: - path: qemu/build - key: v8.2.1-qemu-cached-build - - name: Checkout MentOS submodule if: steps.qemu-cached-build.outputs.cache-hit != 'true' run: git submodule update --init qemu @@ -114,6 +115,7 @@ jobs: if: steps.qemu-cached-build.outputs.cache-hit != 'true' - name: Copy required DLLs into the build directory + if: steps.qemu-cached-build.outputs.cache-hit != 'true' run: > cp /mingw64/bin/libbz2-1.dll /mingw64/bin/liblzo2-2.dll -- cgit v1.2.3