From 000fedbcf20dc35501a03b5f2e30f0caffc1c4da Mon Sep 17 00:00:00 2001 From: Arun Sathiya Date: Fri, 12 Apr 2024 01:56:41 -0700 Subject: [PATCH] Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated (#1864) * Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated * Quote envvar to match documentation --- .github/workflows/phpstan.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 7ab6baced..a6a4e4071 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -34,7 +34,7 @@ jobs: - name: Get composer cache directory id: composercache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" + run: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" - name: Cache dependencies uses: actions/cache@v3 @@ -44,7 +44,7 @@ jobs: restore-keys: ${{ runner.os }}-composer- - name: Add require for mongodb/mongodb to make tests runnable - run: 'composer require ${{ env.COMPOSER_FLAGS }} mongodb/mongodb --dev --no-update' + run: "composer require ${{ env.COMPOSER_FLAGS }} mongodb/mongodb --dev --no-update" - name: "Install latest dependencies" run: "composer update ${{ env.COMPOSER_FLAGS }}"