Skip to content

Commit

Permalink
Fix deprecated set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Nov 22, 2022
1 parent 1b9329d commit 5001d2a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,13 @@ jobs:
- uses: actions/checkout@v3

- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Get composer cache directory (linux)
if: ${{ matrix.operating-system == 'ubuntu-latest' }}
run: echo "COMPOSER_CACHE=$(composer config cache-files-dir)" >> $GITHUB_ENV

- name: Get composer cache directory (windows)
if: ${{ matrix.operating-system == 'windows-latest' }}
run: echo "COMPOSER_CACHE=$(composer config cache-files-dir)" >> $env:GITHUB_ENV

- name: Cache composer dependencies
uses: actions/cache@v3
Expand Down

0 comments on commit 5001d2a

Please sign in to comment.