Skip to content

Commit

Permalink
[CI] Skip composer cache on windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
ogizanagi committed Nov 8, 2022
1 parent a7aeecc commit 5a61451
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,15 @@ jobs:
- name: 'Get composer cache directory'
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
if: ${{ matrix.os != 'windows-latest' }}

- name: 'Cache dependencies'
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-php-${{ matrix.php }}-symfony-${{ matrix.symfony }}-${{ hashFiles('**/composer.json') }}-flags-${{ matrix.composer-flags }}
restore-keys: ${{ runner.os }}-composer-
if: ${{ matrix.os != 'windows-latest' }}

- name: 'Allow unstable packages'
run: composer config minimum-stability dev
Expand Down

0 comments on commit 5a61451

Please sign in to comment.