Skip to content

Commit cf37e16

Browse files
authored
Update build-macos-x86_64.yml
1 parent 2aa4212 commit cf37e16

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-macos-x86_64.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
uses: actions/cache@v4
8484
with:
8585
path: downloads
86-
key: php-${{ env.INPUT_HASH }}
86+
key: php-${{ inputs.version }}-macos-x86_64
8787

8888
# With or without debug
8989
- if: inputs.debug == true
@@ -102,8 +102,7 @@ jobs:
102102
run: echo "SPC_BUILD_FPM=--build-fpm" >> $GITHUB_ENV
103103

104104
# If there's no dependencies cache, fetch sources, with or without debug
105-
- if: steps.cache-download.outputs.cache-hit != 'true'
106-
run: ./bin/spc download --with-php=${{ inputs.version }} --for-extensions=${{ inputs.extensions }} ${{ env.SPC_BUILD_DEBUG }} ${{ env.SPC_PRE_BUILT }} --ignore-cache-sources=php-src
105+
- run: ./bin/spc download --with-php=${{ inputs.version }} --for-extensions=${{ inputs.extensions }} ${{ env.SPC_BUILD_DEBUG }} ${{ env.SPC_PRE_BUILT }} --ignore-cache-sources=php-src
107106

108107
# Run build command
109108
- run: ./bin/spc build ${{ inputs.extensions }} ${{ env.SPC_BUILD_DEBUG }} ${{ env.SPC_NO_STRIP }} ${{ env.SPC_BUILD_CLI }} ${{ env.SPC_BUILD_MICRO }} ${{ env.SPC_BUILD_FPM }}

0 commit comments

Comments
 (0)