mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
remove download cache and minimize download sources
This commit is contained in:
parent
fe6a98b30d
commit
824748c2a7
13
.github/workflows/release-build.yml
vendored
13
.github/workflows/release-build.yml
vendored
@ -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: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user