GHA: Inline buildroot cache action

This commit is contained in:
Serhii Snitsaruk 2024-05-26 08:46:44 +02:00
parent 5b9e329203
commit 7f65305ea9
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
1 changed files with 12 additions and 4 deletions

View File

@ -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'