Skip to content

Commit

Permalink
Install composer if on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ajthinking authored May 11, 2024
1 parent 749678f commit 30ce619
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Composer (macOS)
if: startsWith(runner.os, 'macOS')
run: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

- name: Determine composer cache directory
id: determine-composer-cache-directory
run: 'echo "::set-output name=directory::$(composer config cache-dir)"'
Expand Down

0 comments on commit 30ce619

Please sign in to comment.