fix(ci): remove actions/cache step that requires Node.js
- Gitea runner doesn't have Node.js installed - actions/cache@v4 requires Node.js runtime - vendor/ caching handled by runner workspace persistence
This commit is contained in:
@@ -74,21 +74,8 @@ jobs:
|
|||||||
|
|
||||||
cd /workspace/repo
|
cd /workspace/repo
|
||||||
|
|
||||||
- name: Get Composer cache directory
|
# Note: Composer caching via actions/cache@v4 requires Node.js in runner
|
||||||
id: composer-cache
|
# Skipped for now - vendor/ is cached in runner workspace
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "dir=$(composer global config cache-dir 2>/dev/null | cut -d' ' -f3 || echo "$HOME/.composer/cache")" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Cache Composer dependencies
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
${{ steps.composer-cache.outputs.dir }}
|
|
||||||
vendor/
|
|
||||||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-composer-
|
|
||||||
|
|
||||||
- name: Install PHP dependencies
|
- name: Install PHP dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user