Skip to content

Commit

Permalink
Use ramsey/composer-install action
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed May 7, 2024
1 parent 0294324 commit 592bdfe
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions .github/workflows/bcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,11 @@ jobs:
with:
fetch-depth: 0

- name: Get Composer Cache Directories
id: composer-cache
run: |
echo "files_cache=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
echo "vcs_cache=$(composer config cache-vcs-dir)" >> $GITHUB_OUTPUT
- name: Install Dependencies
uses: ramsey/composer-install@v3

- name: Generate composer.lock
run: |
composer update --no-install
- name: Cache composer cache
uses: actions/cache@v4
with:
path: |
${{ steps.composer-cache.outputs.files_cache }}
${{ steps.composer-cache.outputs.vcs_cache }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Run composer install
run: |
composer install -o
composer bin bcc install
- name: Run bin install
run: composer bin bcc install
env:
COMPOSER_ROOT_VERSION: dev-master

Expand Down

0 comments on commit 592bdfe

Please sign in to comment.