mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
keep the ccache
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -18,7 +18,15 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- if: inputs.submodule
|
- if: inputs.submodule
|
||||||
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
|
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
|
||||||
|
|
||||||
|
- name: retrieve ccache
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ~/.buildroot-ccache
|
||||||
|
key: ${{ inputs.submodule }}-uclibc-ccache-${{ github.sha }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ inputs.submodule }}-uclibc-ccache-
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
cd ${{ inputs.submodule || '.' }}
|
cd ${{ inputs.submodule || '.' }}
|
||||||
@@ -64,7 +72,15 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- if: inputs.submodule
|
- if: inputs.submodule
|
||||||
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
|
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
|
||||||
|
|
||||||
|
- name: retrieve ccache
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ~/.buildroot-ccache
|
||||||
|
key: ${{ inputs.submodule }}-musl-ccache-${{ github.sha }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ inputs.submodule }}-musl-ccache-
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
cd ${{ inputs.submodule || '.' }}
|
cd ${{ inputs.submodule || '.' }}
|
||||||
|
Reference in New Issue
Block a user