Skip to content

Commit

Permalink
Remove Composer cache for now keep NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
brown-a2 committed Jun 14, 2024
1 parent 3392b50 commit 7f9d7fa
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/rw-build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,7 @@ jobs:
REPOSITORY: ${{ secrets.ecr-repo }}
IMAGE_TAG: ${{ github.sha }}

- name: Cache Composer Dependencies
uses: actions/cache@v4
id: composer-cache
with:
path: /vendor
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Verify composer.lock
run: ls -la

- name: Run Composer
if: steps.composer-cache.outputs.cache-hit != 'true' # Skip if cache hit
run: |
composer config http-basic.repo.packagist.com ${{ secrets.cp-user }} ${{ secrets.cp-password }}
composer config http-basic.connect.advancedcustomfields.com ${{ secrets.acf-user }} ${{ secrets.acf-password }}
Expand Down

0 comments on commit 7f9d7fa

Please sign in to comment.