1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

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
This commit is contained in:
Arun Sathiya
2024-04-12 01:56:41 -07:00
committed by GitHub
parent c4ba76aeae
commit 000fedbcf2

View File

@@ -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 }}"