From 58cf498099009b60b7ef9f426014964d319d21ab Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean Date: Tue, 2 Apr 2024 11:39:21 +0700 Subject: [PATCH] chore: github action --- .github/workflows/code_analysis.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 }}