Cache actions fails. #940
Answered
by
vsvipul
terabytesoftw
asked this question in
Q&A
-
- name: Determine composer cache directory.
run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV
- name: Cache dependencies installed with composer.
uses: actions/cache@v3.0.9
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: |
php${{ matrix.php }}-composer Any idea why it fails? Thks. |
Beta Was this translation helpful? Give feedback.
Answered by
vsvipul
Sep 30, 2022
Replies: 1 comment
-
@terabytesoftw Hi the format |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
terabytesoftw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@terabytesoftw Hi the format
**/composer.json
is not supported by glob. Can you please try giving an absolute path for the same. Thanks.