Skip to content

Commit c797843

Browse files
authored
Changes for migrating codecov-actions to v4 (#1054)
1 parent d32166e commit c797843

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/php.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ jobs:
7070
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
7171
7272
- name: Cache composer dependencies
73-
uses: actions/cache@v3
73+
uses: actions/cache@v4
7474
with:
7575
path: ${{ steps.composercache.outputs.dir }}
7676
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
7777
restore-keys: ${{ runner.os }}-composer-
7878

7979
- name: Checkout apigee_edge module
80-
uses: actions/checkout@v3
80+
uses: actions/checkout@v4
8181
with:
8282
path: drupal/modules/contrib/apigee_edge
8383

@@ -150,15 +150,16 @@ jobs:
150150
151151
- name: Artifacts
152152
if: failure()
153-
uses: actions/upload-artifact@v3
153+
uses: actions/upload-artifact@v4
154154
with:
155155
name: browser-output-${{ matrix.php-version }}-${{ matrix.drupal-core }}-${{ matrix.instance-type }}-artifact
156156
path: drupal/sites/simpletest/browser_output/*
157157

158158
- name: Upload coverage to Codecov
159159
if: ${{ matrix.drupal-core == '10.1.x' && matrix.php-version == '8.1' }}
160-
uses: codecov/codecov-action@v3
160+
uses: codecov/codecov-action@v4
161161
with:
162+
token: ${{ secrets.CODECOV_TOKEN }}
162163
files: /tmp/coverage_${{ matrix.instance-type }}.xml
163164
name: codecov-umbrella
164165
fail_ci_if_error: true

0 commit comments

Comments
 (0)