Skip to content

Commit 86f3853

Browse files
committed
Fix actions/cache ::set-output deprecated
GitHub Actions log messages: "The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. * More info: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ * And on the official actions/cache@3 documentation page where an example is given: https://github.com/actions/cache/blob/main/examples.md\#php---comp oser
1 parent ced3a18 commit 86f3853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Get Composer Cache Directory
3434
id: composer-cache
35-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
35+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
3636

3737
- name: Cache Composer dependencies
3838
uses: actions/cache@v3

0 commit comments

Comments
 (0)