From 8f11d3042731907a1672bc492f43bef60cb57cd6 Mon Sep 17 00:00:00 2001 From: Craig Allsop <14211996+callsop@users.noreply.github.com> Date: Sun, 1 Mar 2026 22:46:50 +1000 Subject: [PATCH 1/2] Update build to cache lwtools --- .github/workflows/build.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee4b3d4..ca1df52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Cache LwTools + id: cache-lwtools + uses: actions/cache@v5 + env: + cache-name: cache-lwtools + with: + path: /usr/local/bin/lw* + key: lwtools-4.24 + - name: Fetch Toolshed uses: robinraju/release-downloader@v1 with: @@ -47,7 +56,8 @@ jobs: sudo tar xvf toolshed/toolshed-unix*.tgz --strip-components=1 -C /usr/local/bin sudo ln -s /bin/bash /usr/local/bin/xroar - - name: Install Lwtools + - if: ${{ steps.cache-lwtools.outputs.cache-hit != 'true' }} + name: Install Lwtools run: | sudo bash ./setup/lwtools.sh From 98bea7a71fbba23284afa770693181cdb754482e Mon Sep 17 00:00:00 2001 From: Craig Allsop <14211996+callsop@users.noreply.github.com> Date: Sun, 1 Mar 2026 22:50:56 +1000 Subject: [PATCH 2/2] Update release build to cache lwtools --- .github/workflows/release.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b47dc9..d85ac0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Cache LwTools + id: cache-lwtools + uses: actions/cache@v5 + env: + cache-name: cache-lwtools + with: + path: /usr/local/bin/lw* + key: lwtools-4.24 + - name: Fetch Toolshed uses: robinraju/release-downloader@v1 with: @@ -42,7 +51,9 @@ jobs: sudo tar xvf toolshed/toolshed-unix*.tgz --strip-components=1 -C /usr/local/bin sudo ln -s /bin/bash /usr/local/bin/xroar - - name: Install Lwtools + + - if: ${{ steps.cache-lwtools.outputs.cache-hit != 'true' }} + name: Install Lwtools run: | sudo bash ./setup/lwtools.sh