message: do not cache common downloads
diff: @@ -91,17 +91,9 @@ jobs:
  CMD ["sleep", "infinity"]
  EOF
  - - name: Cache common
  - uses: actions/cache@v2
  - id: gitian-common
  - env:
  - cache-name: gitian-common
  - with:
  - path: ${{ env.GITIAN_CACHE }}/common
  - key: ${{ env.cache-name }}-${{ hashFiles('depends/packages/*') }}
  -
  - - name: Cache arch
  + - name: Cache dependencies
  uses: actions/cache@v2
  + id: gitian-deps
  env:
  cache-name: gitian-host
  with:
  @@ -118,20 +110,12 @@ jobs:
  git add share/genbuild.sh
  git commit -m "Update DESC"
  - - name: Download common
  - if: steps.gitian-common.outputs.cache-hit != 'true'
  - run: |
  - cd ${GITIAN_DIR}
  - make -j $MAKEJOBS -C ${{ steps.detect.outputs.build-dir }}/depends download SOURCES_PATH=${GITIAN_CACHE}/common
  - cd -
  -
  - name: Build binary
  + working-directory: ${{ env.GITIAN_DIR }}
  run: |
  - cd ${GITIAN_DIR}
  sed -i "s/^\ \ \(HOSTS=\"\).*/\ \ \1${{ matrix.host }}\"/g" ${{ steps.detect.outputs.descriptor }}
  ./bin/gbuild -j $MAKEJOBS --commit peercoin=$(git -C ${{ steps.detect.outputs.build-dir }} log --format="%H" -n 1) --url peercoin=${{ steps.detect.outputs.build-dir }} ${{ steps.detect.outputs.descriptor }}
  cp -r ${GITIAN_DIR}/build/out/* ${{ steps.detect.outputs.build-dir }}/
  - cd -
  - name: Get short SHA
  id: slug
  