Bump GitHub actions versions and fix deprecated syntax for variables

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2022-12-03 18:34:55 +01:00
parent 24e1086682
commit 28d8fdc584
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
4 changed files with 7 additions and 7 deletions

View File

@ -25,7 +25,7 @@ jobs:
- name: Get Yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache Yarn dependencies
uses: actions/cache@v3

View File

@ -60,7 +60,7 @@ jobs:
- name: Get Yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache Yarn dependencies
uses: actions/cache@v3

View File

@ -88,7 +88,7 @@ jobs:
- name: Get Yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache Yarn dependencies
uses: actions/cache@v3
@ -111,7 +111,7 @@ jobs:
SKIP_STANDALONE: 1
run: |
./test/start-local-server
echo ::set-output name=SELENIUM_TEMPDIR::"$(cat /tmp/last_temp_dir_phpMyAdminTests)"
echo "SELENIUM_TEMPDIR=$(cat /tmp/last_temp_dir_phpMyAdminTests)" >> $GITHUB_OUTPUT
id: start-local-server
- name: Run Selenium tests

View File

@ -109,7 +109,7 @@ jobs:
run: composer run phpunit -- ${{ matrix.phpunit-options }}
- name: Send coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
flags: unit-${{ matrix.php-version }}-${{ matrix.os }}
name: phpunit-${{ matrix.php-version }}-${{ matrix.os }}
@ -168,7 +168,7 @@ jobs:
run: composer run phpunit -- --testsuite unit
- name: Send coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.extension }}-extension
name: php-7.2-${{ matrix.extension }}-enabled
@ -204,7 +204,7 @@ jobs:
- name: Get Yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache Yarn dependencies
uses: actions/cache@v3