Skip to content

Commit

Permalink
Bump gh actions and update artifacts/cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
discordier committed Apr 24, 2024
1 parent 497c313 commit c3bdaeb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/diagnostics.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cyberspectrum/i18n-xliff
name: cyberspectrum/i18n

on:
push:
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:

steps:
- name: PHP ${{ matrix.php }} Pull source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -44,15 +44,15 @@ jobs:
php-version: ${{ matrix.php }}

- name: PHP ${{ matrix.php }} Cache composer cache directory
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: composer-cache-dir-${{ matrix.php }}
with:
path: ~/.cache/composer
key: ${{ runner.os }}-build-${{ env.cache-name }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.phpcq_install }}-${{ matrix.phpcq_flags }}-${{ matrix.composer_install }}

- name: PHP ${{ matrix.php }} Cache vendor directory
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: composer-vendor-${{ matrix.php }}
with:
Expand All @@ -74,8 +74,8 @@ jobs:
run: ./vendor/bin/phpcq run -v -o github-action -o default ${{ matrix.phpcq_flags }}

- name: PHP ${{ matrix.php }} Upload build directory to artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ success() }} || ${{ failure() }}
with:
name: phpcq-builds-php-${{ matrix.php }}
name: phpcq-builds-php-${{ matrix.php }}-${{ matrix.phpcq_install }}-${{ matrix.phpcq_flags }}-${{ matrix.composer_install }}
path: .phpcq/build/

0 comments on commit c3bdaeb

Please sign in to comment.