|
50 | 50 | name: terminus-phar |
51 | 51 | path: terminus.phar |
52 | 52 | if-no-files-found: error |
| 53 | + - name: Adjust dependencies for PHP 7.4 |
| 54 | + run: composer config platform.php 7.4.28 |
| 55 | + - name: Update dependencies |
| 56 | + run: composer update |
| 57 | + - name: Phar Build for PHP 7.4 |
| 58 | + run: composer phar:build |
| 59 | + - name: Rename PHP 7.4 phar |
| 60 | + run: mv terminus.phar terminus-php74.phar |
| 61 | + - name: Save terminus-php74.phar as artifact |
| 62 | + uses: actions/upload-artifact@v4 |
| 63 | + with: |
| 64 | + name: terminus-php74-phar |
| 65 | + path: terminus-php74.phar |
| 66 | + if-no-files-found: error |
53 | 67 |
|
54 | 68 | functional: |
55 | 69 | runs-on: ${{ matrix.operating-system }} |
|
58 | 72 | strategy: |
59 | 73 | matrix: |
60 | 74 | operating-system: [ 'macos-latest' ] |
61 | | - php-versions: [ '8.2', '8.4' ] |
| 75 | + php-versions: [ '7.4', '8.2', '8.4' ] |
62 | 76 | max-parallel: 1 |
63 | 77 | env: |
64 | 78 | TERMINUS_TOKEN: ${{ secrets.TERMINUS_TOKEN }} |
@@ -100,6 +114,12 @@ jobs: |
100 | 114 | uses: actions/download-artifact@v4 |
101 | 115 | with: |
102 | 116 | name: terminus-phar |
| 117 | + - name: Download terminus-php74.phar as artifact |
| 118 | + uses: actions/download-artifact@v4 |
| 119 | + with: |
| 120 | + name: terminus-php74-phar |
| 121 | + - name: Rename terminus-php74.phar to terminus.phar |
| 122 | + mv: terminus-php74.phar terminus.phar |
103 | 123 | - name: Install Composer Dependencies |
104 | 124 | run: composer install --no-interaction --prefer-dist |
105 | 125 | - name: Setup tmate session |
|
0 commit comments