Skip to content

Commit 9eaa72a

Browse files
authored
Merge pull request #502 from kenjis/update-GA-deptrac.yml
chore: update GA deptrac.yml
2 parents 5e6d517 + 2ac36d3 commit 9eaa72a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deptrac.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,20 @@ jobs:
3131
- name: Set up PHP
3232
uses: shivammathur/setup-php@v2
3333
with:
34-
php-version: '8.0'
34+
php-version: '8.1'
3535
tools: phive
3636
extensions: intl, json, mbstring, xml
3737
coverage: none
3838
env:
3939
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040

4141
- name: Get composer cache directory
42-
id: composer-cache
43-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
42+
run: echo "COMPOSER_CACHE_FILES_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV
4443

4544
- name: Cache composer dependencies
4645
uses: actions/cache@v3
4746
with:
48-
path: ${{ steps.composer-cache.outputs.dir }}
47+
path: ${{ env.COMPOSER_CACHE_FILES_DIR }}
4948
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}-${{ hashFiles('**/composer.lock') }}
5049
restore-keys: ${{ runner.os }}-composer-
5150

0 commit comments

Comments
 (0)