mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2026-01-02 03:53:36 +05:00
build: Disable step "Cache downloads"
This commit is contained in:
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@@ -203,6 +203,7 @@ jobs:
|
|||||||
wget https://github.com/fantastic-packages/packages/raw/refs/heads/25.12/keys/usign/53FF2B6672243D28.pub
|
wget https://github.com/fantastic-packages/packages/raw/refs/heads/25.12/keys/usign/53FF2B6672243D28.pub
|
||||||
|
|
||||||
- name: Cache downloads (dl)
|
- name: Cache downloads (dl)
|
||||||
|
if: false
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: dl
|
path: dl
|
||||||
@@ -264,11 +265,7 @@ jobs:
|
|||||||
- name: Cache host tools
|
- name: Cache host tools
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: staging_dir/host
|
||||||
staging_dir/host
|
|
||||||
build_dir/host
|
|
||||||
staging_dir/hostpkg
|
|
||||||
build_dir/hostpkg
|
|
||||||
key: host-tools-${{ runner.os }}-${{ hashFiles('tools/**') }}
|
key: host-tools-${{ runner.os }}-${{ hashFiles('tools/**') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
host-tools-${{ runner.os }}-
|
host-tools-${{ runner.os }}-
|
||||||
@@ -276,13 +273,11 @@ jobs:
|
|||||||
- name: Cache toolchain
|
- name: Cache toolchain
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: staging_dir/toolchain-*
|
||||||
staging_dir/toolchain-*
|
|
||||||
build_dir/toolchain-*
|
|
||||||
key: toolchain-${{ env.G_TARGET_ARCH }}-${{ hashFiles('toolchain/**') }}
|
key: toolchain-${{ env.G_TARGET_ARCH }}-${{ hashFiles('toolchain/**') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
toolchain-${{ env.G_TARGET_ARCH }}-
|
toolchain-${{ env.G_TARGET_ARCH }}-
|
||||||
|
|
||||||
- name: Build tools and toolchain
|
- name: Build tools and toolchain
|
||||||
id: tools
|
id: tools
|
||||||
if: ${{ steps.configure.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
|
if: ${{ steps.configure.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
|
||||||
@@ -294,20 +289,14 @@ jobs:
|
|||||||
if: ${{ steps.tools.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
|
if: ${{ steps.tools.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: staging_dir/host
|
||||||
staging_dir/host
|
|
||||||
build_dir/host
|
|
||||||
staging_dir/hostpkg
|
|
||||||
build_dir/hostpkg
|
|
||||||
key: host-tools-${{ runner.os }}-${{ hashFiles('tools/**') }}
|
key: host-tools-${{ runner.os }}-${{ hashFiles('tools/**') }}
|
||||||
|
|
||||||
- name: Save cache for toolchain
|
- name: Save cache for toolchain
|
||||||
if: ${{ steps.tools.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
|
if: ${{ steps.tools.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: staging_dir/toolchain-*
|
||||||
staging_dir/toolchain-*
|
|
||||||
build_dir/toolchain-*
|
|
||||||
key: toolchain-${{ env.G_TARGET_ARCH }}-${{ hashFiles('toolchain/**') }}
|
key: toolchain-${{ env.G_TARGET_ARCH }}-${{ hashFiles('toolchain/**') }}
|
||||||
|
|
||||||
- name: Kernel compile
|
- name: Kernel compile
|
||||||
|
|||||||
Reference in New Issue
Block a user