Skip to content

Commit

Permalink
Use GITHUB_OUTPUT envvar instead of set-output command as the latter …
Browse files Browse the repository at this point in the history
…is deprecated (#1864)

* Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated

* Quote envvar to match documentation
  • Loading branch information
arunsathiya committed Apr 12, 2024
1 parent c4ba76a commit 000fedb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}"
Expand Down

0 comments on commit 000fedb

Please sign in to comment.