From 824748c2a7604db0513877908b972bf69d1ac4a7 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Fri, 15 Sep 2023 19:06:41 +0800 Subject: [PATCH] remove download cache and minimize download sources --- .github/workflows/release-build.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 21b4e286..77c7c728 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -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: |