mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 04:40:45 +09:00
Update actions/cache action to v4 (#2081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
b6f16956aa
commit
1dfd868279
2 files changed
+6
-6
No files matched your search
@@ -36,14 +36,14 @@ jobs:
|
||||
|
||||
- name: Cache Built Admin Theme
|
||||
id: cache-admin_default
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ./src/themes/admin_default/build
|
||||
key: admin_default-${{ hashFiles('./package-lock.json', './src/themes/admin_default/assets/fossbilling.js', './src/themes/admin_default/assets/scss/*.scss', './src/themes/admin_default/assets/js/*.js', './src/themes/admin_default/assets/js/ui/*.js') }}
|
||||
|
||||
- name: Cache Built Huraga Theme
|
||||
id: cache-huraga
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ./src/themes/huraga/build
|
||||
key: huraga-${{ hashFiles('./package-lock.json', './src/themes/huraga/assets/huraga.js', './src/themes/huraga/assets/scss/*.scss') }}
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
|
||||
- name: Cache Composer Dependencies
|
||||
id: composer-cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ./src/vendor
|
||||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||
@@ -44,21 +44,21 @@ jobs:
|
||||
php-version: "8.2"
|
||||
|
||||
- name: Restore Rector Cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ./var/cache/rector
|
||||
key: ${{ env.MONTH }}-rector
|
||||
restore-keys: ${{ env.MONTH }}-rector
|
||||
|
||||
- name: Restore Rector Cache for the Tests
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ./var/cache/rector_tests
|
||||
key: ${{ env.MONTH }}-rector_tests
|
||||
restore-keys: ${{ env.MONTH }}-rector_tests
|
||||
|
||||
- name: Restore CS-Fixer Cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .php-cs-fixer.cache
|
||||
key: ${{ env.MONTH }}-csfixer
|
||||
|
||||
Reference in new issue
Block a user