File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 70
70
with :
71
71
path : |
72
72
C:\php\php-*.zip
73
- key : ${{ runner.os }}-php
73
+ key : ${{ runner.os }}-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch }}
74
+ restore-keys : |
75
+ ${{ runner.os }}-php-
74
76
75
77
- name : Install build command
76
78
run : .\.github\workflows\install.ps1
@@ -87,21 +89,21 @@ jobs:
87
89
REPORT_EXIT_STATUS : 1
88
90
NO_INTERACTION : 1
89
91
90
- - if : ${{ github.event_name == 'release' }}
92
+ - if : ${{ github.event_name == 'release' && matrix.library == '' }}
91
93
name : Archive DLL
92
94
run : |-
93
95
Copy-Item .\php_${{ env.PHP_EXT }}.dll .\$env:EXT_NAME.dll
94
96
Compress-Archive -Path .\$env:EXT_NAME.dll -Destination .\$env:EXT_NAME.zip
95
97
shell : pwsh
96
98
env :
97
- EXT_NAME : php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch }}
99
+ EXT_NAME : php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch == 'x64' && 'x86_64' || matrix.arch }}
98
100
99
- - if : ${{ github.event_name == 'release' }}
101
+ - if : ${{ github.event_name == 'release' && matrix.library == '' }}
100
102
name : Store archive DLL
101
103
uses : actions/upload-artifact@v4
102
104
with :
103
- name : ${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch }}
104
- path : .\php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch }}.zip
105
+ name : ${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch == 'x64' && 'x86_64' || matrix.arch }}
106
+ path : .\php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch == 'x64' && 'x86_64' || matrix.arch }}.zip
105
107
overwrite : true
106
108
107
109
release :
You can’t perform that action at this time.
0 commit comments