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 id: output-name-prefix
run: echo "name-prefix=${NAME_PREFIX}" >> $GITHUB_OUTPUT run: echo "name-prefix=${NAME_PREFIX}" >> $GITHUB_OUTPUT
- name: Setup Linux toolchain # - name: Setup Linux toolchain
if: matrix.opts.platform == 'linux' # if: matrix.opts.platform == 'linux'
uses: ./limboai/.github/actions/setup-linux-toolchain # uses: ./limboai/.github/actions/setup-linux-toolchain
# with:
# arch: ${{matrix.opts.arch}}
- name: Use cached buildroot
id: cache-buildroot
uses: actions/cache@v4
with: with:
arch: ${{matrix.opts.arch}} path: buildroot
key: 16c8302fcb676c1f0fb9df73d6cff250ba1f4286
fail-on-cache-miss: true
- name: Set up Python 3.x - name: Set up Python 3.x
if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos' if: matrix.opts.platform == 'windows' || matrix.opts.platform == 'macos'