Skip to content

Commit f149cbf

Browse files
committed
Replace deprecated set-output command
1 parent 379c6f8 commit f149cbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/tests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828

2929
- name: Set composer cache directory
3030
id: composer-cache
31-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
31+
run: echo "COMPOSER_CACHE_DIRECTORY=$(composer config cache-files-dir)" >> $GITHUB_ENV
3232

3333
- name: Restore composer from cache
3434
uses: actions/cache@v3
3535
with:
36-
path: ${{ steps.composer-cache.outputs.dir }}
36+
path: ${{ env.COMPOSER_CACHE_DIRECTORY }}
3737
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
3838
restore-keys: ${{ runner.os }}-composer-
3939

0 commit comments

Comments
 (0)