diff --git a/.github/workflows/code_analysis.yaml b/.github/workflows/code_analysis.yaml index 2bcb40c..16bdf35 100644 --- a/.github/workflows/code_analysis.yaml +++ b/.github/workflows/code_analysis.yaml @@ -45,14 +45,15 @@ jobs: - uses: ramsey/composer-install@v3 - name: Rector Cache - if: ${{ matrix.actions.name }} === 'Rector' + if: matrix.actions == 'Rector' uses: actions/cache@v4 with: path: /tmp/rector key: ${{ runner.os }}-rector-${{ github.run_id }} restore-keys: ${{ runner.os }}-rector- - - if: ${{ matrix.actions.name }} === 'Rector' + - name: Make Folder Cache Rector + if: matrix.actions == 'Rector' run: mkdir -p /tmp/rector - run: ${{ matrix.actions.run }}