From 7f65305ea9cda5b5216422e1dcfb73bff1c8f8f5 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Sun, 26 May 2024 08:46:44 +0200 Subject: [PATCH] GHA: Inline buildroot cache action --- .github/workflows/gdextension.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gdextension.yml b/.github/workflows/gdextension.yml index b8342db..297181d 100644 --- a/.github/workflows/gdextension.yml +++ b/.github/workflows/gdextension.yml @@ -133,11 +133,19 @@ jobs: id: output-name-prefix run: echo "name-prefix=${NAME_PREFIX}" >> $GITHUB_OUTPUT - - name: Setup Linux toolchain - if: matrix.opts.platform == 'linux' - uses: ./limboai/.github/actions/setup-linux-toolchain + # - name: Setup Linux toolchain + # if: matrix.opts.platform == 'linux' + # uses: ./limboai/.github/actions/setup-linux-toolchain + # with: + # arch: ${{matrix.opts.arch}} + + - name: Use cached buildroot + id: cache-buildroot + uses: actions/cache@v4 with: - arch: ${{matrix.opts.arch}} + path: buildroot + key: 16c8302fcb676c1f0fb9df73d6cff250ba1f4286 + fail-on-cache-miss: true - name: Set up Python 3.x if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos'