From 7056c006ad83dfe6cb983545b4595a2abfea7d5f Mon Sep 17 00:00:00 2001 From: Yannick de Lange Date: Tue, 10 Dec 2024 20:58:17 +0100 Subject: [PATCH] Fixed issue with workflow not being able to write to cache --- .github/workflows/main.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 10ca9f0..2859a19 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -17,7 +17,8 @@ jobs: php-version: ${{ matrix.php-versions }} - name: Get composer cache directory id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" + run: | + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }}