-
Notifications
You must be signed in to change notification settings - Fork 8
37 lines (34 loc) · 1016 Bytes
/
symfony.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Symfony
on: [push, pull_request]
permissions:
contents: read
jobs:
install:
strategy:
matrix:
php_version: [ '8.1', '8.2' ]
symfony_version: [ '6.0', '6.1', '6.2' ]
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
#extensions: dom, curl, libxml, mbstring
- uses: actions/checkout@v3
- name: Create new project
run: |
mkdir component
shopt -s extglob dotglob
mv !(component) component
composer create-project symfony/skeleton:"${{ matrix.symfony_version }}.*" app
- name: Component installation
run: |
cd app
composer config repositories.component path "../component"
composer config minimum-stability dev
composer require ang3/php-excel-encoder "*"
cd ..
- name: Clear cache
run: |
cd app
php bin/console cache:clear