Skip to content

Commit

Permalink
Merge pull request #673 from Austinb/bumbummen99-patch-17
Browse files Browse the repository at this point in the history
Install composer dependencies in Documentation.yml
  • Loading branch information
Patrick committed Oct 17, 2022
2 parents 306dacd + 427baf1 commit 15de201
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,22 @@ jobs:
ref: gh-pages
path: gh-pages

- name: Validate composer.json
run: |
cd source
composer validate
- name: Cache composer files
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('source/composer.json') }}

- name: Install dependencies using composer
run: |
cd source
composer install --prefer-dist --no-interaction ${{ matrix.composer-extra }}
- name: ApiGen
run: |
rm -rf ../gh-pages/api
Expand Down

0 comments on commit 15de201

Please sign in to comment.