From 9a3824547c6af362c189882afb389a527821f0c6 Mon Sep 17 00:00:00 2001 From: Wtyd Date: Sat, 30 Dec 2023 19:13:58 +0100 Subject: [PATCH] Creo la variable de composer de forma dinamica --- .github/workflows/code-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml index 9327896..4f5cee5 100644 --- a/.github/workflows/code-analysis.yml +++ b/.github/workflows/code-analysis.yml @@ -25,13 +25,13 @@ jobs: - name: Crear variable id: composer-cache - run: echo "dir=/home/runner/.cache/composer/files" >> $GITHUB_OUTPUT + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT # - name: Get composer cache directory # id: composer-cache # run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Lee variable - run: echo "dir=${{ steps.composer-cache.outputs.dir }}" + run: echo ${{ steps.composer-cache.outputs.dir }} # - name: Cache dependencies # uses: actions/cache@v3 # with: