Parcourir la source

Merge pull request #8231 from emqx/0616-disalbe-quic-cache-for-now

ci: disable quicer build cache fro cross-build jobs
Zaiming (Stone) Shi il y a 3 ans
Parent
commit
ece0b6e8cb
1 fichiers modifiés avec 0 ajouts et 28 suppressions
  1. 0 28
      .github/workflows/build_packages.yaml

+ 0 - 28
.github/workflows/build_packages.yaml

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