Skip to content

Commit

Permalink
stop using set-output as it is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
alcohol committed Sep 11, 2023
1 parent fd553f8 commit cde6a2a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: get composer cache directory
- name: determine composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: restore cached dependencies
run: "echo \"directory=$(composer config cache-dir)\" >> $GITHUB_OUTPUT"
- name: cache dependencies installed with composer
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ matrix.php }}-${{ matrix.stability }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ matrix.php }}-${{ matrix.stability }}-composer-
path: ${{ steps.composer-cache.outputs.directory }}
key: php-${{ matrix.php-version }}-${{ matrix.stability }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ matrix.php }}-${{ matrix.stability }}-composer
- run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- run: composer run test

0 comments on commit cde6a2a

Please sign in to comment.