ci: disable quicer build cache fro cross-build jobs

This commit is contained in:
Zaiming (Stone) Shi 2022-06-16 01:00:11 +02:00
parent 33fb2125a3
commit c8170f6a50
1 changed files with 0 additions and 28 deletions

View File

@ -26,7 +26,6 @@ jobs:
outputs:
BUILD_PROFILES: ${{ steps.get_profiles.outputs.BUILD_PROFILES }}
DEP_QUICER_REF: ${{ steps.deps-refs.outputs.DEP_QUICER_REF }}
steps:
- uses: actions/checkout@v2
@ -35,12 +34,6 @@ jobs:
path: source
fetch-depth: 0
- name: Get deps git refs for cache
id: deps-refs
working-directory: source
run: |
bash -x scripts/get-dep-refs.sh
make clean-all
- name: Get profiles to build
id: get_profiles
run: |
@ -156,12 +149,6 @@ jobs:
kerl build ${{ matrix.otp }}
kerl install ${{ matrix.otp }} $HOME/.kerl/${{ matrix.otp }}
- name: load quicer cache
uses: actions/cache@v2
with:
path: source/_build/default/lib/quicer/
key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ needs.prepare.outputs.DEP_QUICER_REF }}
- name: build
working-directory: source
env:
@ -288,13 +275,6 @@ jobs:
path: .
- name: unzip source code
run: unzip -q source.zip
- name: load quicer cache
uses: actions/cache@v2
with:
path: |
source/_build/default/lib/quicer/
source/deps/quicer/
key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ needs.prepare.outputs.DEP_QUICER_REF }}
- name: build emqx packages
working-directory: source
env:
@ -394,14 +374,6 @@ jobs:
- uses: docker/setup-buildx-action@v1
- name: load quicer cache
uses: actions/cache@v2
with:
path: |
source/_build/default/lib/quicer/
source/deps/quicer/
key: ${{ matrix.os[0] }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ needs.prepare.outputs.DEP_QUICER_REF }}
- name: Login for docker.
uses: docker/login-action@v1
if: matrix.arch == 'amd64' && matrix.registry == 'docker.io'