File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change 11name : " [Windows] Build Phalcon"
2- on : [push, pull_request]
2+
3+ on :
4+ - push
5+ - pull_request
6+
7+ env :
8+ # All versions should be declared here
9+ PHALCON_VERSION : 5.9.3
310
411jobs :
512 windows :
613 runs-on : windows-latest
7- name : " Build Phalcon (PHP ${{matrix.php}}-${{matrix.ts}}-${{matrix.arch}})"
14+ name : " Build Phalcon (PHP ${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.arch }})"
815 defaults :
916 run :
1017 shell : cmd
1118 strategy :
1219 fail-fast : false
1320 matrix :
14- php : ["8.0","8.1","8.2","8.3"]
15- arch : [x64,x86]
16- ts : [nts,ts]
21+ php :
22+ - ' 8.1'
23+ - ' 8.2'
24+ - ' 8.3'
25+ - ' 8.4'
26+ arch :
27+ - x64
28+ - x86
29+ ts :
30+ - nts
31+ - ts
1732 experimental : [false]
1833 steps :
1934 - name : Checkout Phalcon
3146
3247 - name : Setup PHP
3348 id : setup-php
34- uses : php/setup-php-sdk@v0.8
49+ uses : php/setup-php-sdk@v0.10
3550 with :
3651 version : ${{matrix.php}}
3752 arch : ${{matrix.arch}}
7691 $phalconDllOpt = 'TEST_PHP_ARGS=-n -d zend_extension=' + $dir + '\php_phalcon.dll'
7792 echo $phalconDllOpt >> $env:GITHUB_ENV
7893
79- $artifactName = 'php_phalcon-php${{matrix.php}}'
94+ $artifactName = 'php_phalcon-${{ env.PHALCON_VERSION }}- php${{matrix.php}}'
8095
8196 if ('nts' -ne '${{matrix.ts}}') { $artifactName = $artifactName + '-ts' }
8297 if ('nts' -eq '${{matrix.ts}}') { $artifactName = $artifactName + '-nts' }
@@ -105,4 +120,4 @@ jobs:
105120 name : ${{env.ARTIFACT_NAME}}
106121 path : |
107122 ${{env.ARTIFACT}}
108- LICENSE.txt
123+ LICENSE.txt
You can’t perform that action at this time.
0 commit comments