remove download cache and minimize download sources

This commit is contained in:
crazywhalecc 2023-09-15 19:06:41 +08:00 committed by Jerry Ma
parent fe6a98b30d
commit 824748c2a7

View File

@ -45,17 +45,8 @@ jobs:
- name: "Install locked dependencies"
run: "composer install --no-interaction --no-progress"
# Cache downloaded source
- id: cache-download
uses: actions/cache@v3
with:
path: downloads
key: php-${{ matrix.php-version }}-dependencies
# If there's no dependencies cache, fetch sources
- if: steps.cache-download.outputs.cache-hit != 'true'
name: "Download sources"
run: bin/spc download --with-php=${{ matrix.php-version }} --all
- name: "Download sources"
run: bin/spc download --with-php=${{ matrix.php-version }} php-src,micro,pkg-config,onig,zlib
- name: "Build phpmicro"
run: |