Skip to content

Commit 1b9fdb5

Browse files
committed
Update GitHub WorkFlow for new syntax
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
1 parent b4a7016 commit 1b9fdb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/code_analysis.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ jobs:
3636
- name: Get Composer Cache Directory
3737
id: composer-cache
3838
run: |
39-
echo "::set-output name=dir::$(composer config cache-files-dir)"
39+
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
4040
- uses: actions/cache@v2
4141
with:
4242
path: |
4343
${{ steps.composer-cache.outputs.dir }}
44-
**/composer.lock
45-
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
44+
composer.lock
45+
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
4646

4747
- name: Install Composer
4848
run: composer update --no-progress

0 commit comments

Comments
 (0)