Skip to content

Commit fcbdaa7

Browse files
committed
Try fixing cache
1 parent c1db91f commit fcbdaa7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/CI.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ concurrency:
1616

1717
env:
1818
# Cache params
19-
CACHE_VERSION: 2022061903 # To be able to create a new cache (YYYYMMDDXX)
19+
CACHE_VERSION: 2022061904 # To be able to create a new cache (YYYYMMDDXX)
2020
COVERAGE_OUTPUT_STYLE: clover
2121
TEST_OUTPUT_STYLE: pretty
2222
COMPOSER_OPTIONS: --optimize-autoloader
23-
CODACY_CACHE_PATH: $HOME/.cache/codacy
24-
CODACY_BIN: $HOME/.cache/codacy/codacy.sh
23+
CODACY_CACHE_PATH: ~/.cache/codacy
24+
CODACY_BIN: ~/.cache/codacy/codacy.sh
2525

2626
jobs:
2727
static-tests:
@@ -94,7 +94,7 @@ jobs:
9494
path: |
9595
~/.composer
9696
./vendor
97-
$CODACY_CACHE_PATH
97+
${{ env.CODACY_CACHE_PATH }}
9898
build/behat-code-coverage-cache
9999
# Clear the cache if composer json (as composer.lock is in the repo) has been updated
100100
key: ${{ env.CACHE_VERSION }}-tests-${{ matrix.php-version }}-${{ matrix.symfony-version }}-${{ hashFiles('composer.json') }}
@@ -150,8 +150,8 @@ jobs:
150150
uses: actions/cache@v2
151151
with:
152152
path: |
153-
$CODACY_CACHE_PATH
154-
key: ${{ env.CACHE_VERSION }}-codacy
153+
${{ env.CODACY_CACHE_PATH }}
154+
key: ${{ env.CACHE_VERSION }}-codacy-final
155155

156156
- name: Download codacy binary
157157
if: steps.cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)