Skip to content

Commit

Permalink
Version updates for workflows (#486)
Browse files Browse the repository at this point in the history
Co-authored-by: Shishir <[email protected]>
  • Loading branch information
kedarkhaire and shishir-intelli authored May 13, 2024
1 parent fd12656 commit 434d3b5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ jobs:
echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Checkout apigee_m10n module
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: drupal/modules/contrib/apigee_m10n

Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
composer show > composer-show.txt
- name: Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: composer-${{ matrix.php-version }}-${{ matrix.drupal-core }}-${{ matrix.instance-type }}-artifact
path: drupal/composer.*
Expand Down Expand Up @@ -151,15 +151,16 @@ jobs:
- name: Artifacts
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: browser-output-${{ matrix.php-version }}-${{ matrix.drupal-core }}-${{ matrix.instance-type }}-artifact
path: drupal/sites/simpletest/browser_output/*

- name: Upload coverage to Codecov
if: ${{ matrix.drupal-core == '10.1.x' && matrix.php-version == '8.1' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: /tmp/coverage_${{ matrix.instance-type }}.xml
name: codecov-umbrella
fail_ci_if_error: true
Expand Down

0 comments on commit 434d3b5

Please sign in to comment.