Skip to content

Commit 7c273ba

Browse files
committed
[skip ci] Revert ccache version change
This will be improved for GH-14154 anyway.
1 parent f9bad8c commit 7c273ba

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/actions/ccache/action.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,9 @@ inputs:
55
runs:
66
using: composite
77
steps:
8-
- name: Get PHP version
9-
shell: bash
10-
id: php_version
11-
run: |
12-
echo "major=$(cat main/php_version.h | sed -n 's/^#define PHP_MAJOR_VERSION \([0-9]\+\)/\1/p')" >> $GITHUB_OUTPUT
13-
echo "minor=$(cat main/php_version.h | sed -n 's/^#define PHP_MINOR_VERSION \([0-9]\+\)/\1/p')" >> $GITHUB_OUTPUT
148
- name: ccache
159
uses: hendrikmuhs/ccache-action@v1.2
1610
with:
17-
key: "${{ inputs.name }}-${{ steps.php_version.outputs.major }}.${{ steps.php_version.outputs.minor }}"
11+
key: "${{ inputs.name }}-${{ hashFiles('main/php_version.h') }}"
1812
append-timestamp: false
1913
save: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)