mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +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"
|
- name: "Install locked dependencies"
|
||||||
run: "composer install --no-interaction --no-progress"
|
run: "composer install --no-interaction --no-progress"
|
||||||
|
|
||||||
# Cache downloaded source
|
- name: "Download sources"
|
||||||
- id: cache-download
|
run: bin/spc download --with-php=${{ matrix.php-version }} php-src,micro,pkg-config,onig,zlib
|
||||||
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: "Build phpmicro"
|
- name: "Build phpmicro"
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user