Skip to content

Commit b7c5799

Browse files
committed
Use updated calls of GH actions api
1 parent bbb64a8 commit b7c5799

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ jobs:
7373

7474
- name: Composer get cache directory
7575
id: composer-cache
76-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
76+
run: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"
7777

7878
- name: Composer cache dependencies
79-
uses: actions/cache@v1
79+
uses: actions/cache@v2
8080
with:
8181
path: ${{ steps.composer-cache.outputs.dir }}
8282
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -122,11 +122,11 @@ jobs:
122122
- name: Run tests
123123
shell: 'script -q -e -c "bash {0}"'
124124
run: |
125-
if [[ ${{ matrix.php-version }} == '7.4' && ${{ matrix.symfony-version == '5-max' }} ]]; then
126-
export CODECOVERAGE=1 && vendor/bin/phpunit -c tests/${{ matrix.db-type }}.phpunit.xml --verbose --coverage-clover=tests/coverage.xml
127-
else
128-
vendor/bin/phpunit -c tests/${{ matrix.db-type }}.phpunit.xml
129-
fi
125+
if [[ ${{ matrix.php-version }} == '7.4' && ${{ matrix.symfony-version }} == '5-max' ]]; then
126+
export CODECOVERAGE=1 && vendor/bin/phpunit -c tests/${{ matrix.db-type }}.phpunit.xml --verbose --coverage-clover=tests/coverage.xml
127+
else
128+
vendor/bin/phpunit -c tests/${{ matrix.db-type }}.phpunit.xml
129+
fi
130130
env:
131131
SYMFONY_VERSION: ${{ matrix.symfony-version }}
132132

@@ -153,7 +153,7 @@ jobs:
153153
- name: Composer get cache directory
154154
id: composer-cache
155155
run: |
156-
echo "::set-output name=dir::$(composer config cache-files-dir)"
156+
echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"
157157
158158
- name: Composer cache
159159
uses: actions/cache@v2

0 commit comments

Comments
 (0)