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 79
79
with :
80
80
path : |
81
81
C:\php\php-*.zip
82
- key : ${{ runner.os }}-php
82
+ key : ${{ runner.os }}-php-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch }}
83
+ restore-keys : |
84
+ ${{ runner.os }}-php-
83
85
84
86
- name : Install build command
85
87
run : .\.github\workflows\install.ps1
@@ -96,21 +98,21 @@ jobs:
96
98
REPORT_EXIT_STATUS : 1
97
99
NO_INTERACTION : 1
98
100
99
- - if : ${{ github.event_name == 'release' }}
101
+ - if : ${{ github.event_name == 'release' && matrix.library == false && matrix.apcu == '' }}
100
102
name : Archive DLL
101
103
run : |-
102
104
Copy-Item .\php_${{ env.PHP_EXT }}.dll .\$env:EXT_NAME.dll
103
105
Compress-Archive -Path .\$env:EXT_NAME.dll -Destination .\$env:EXT_NAME.zip
104
106
shell : pwsh
105
107
env :
106
- EXT_NAME : php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch }}
108
+ EXT_NAME : php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch == 'x64' && 'x86_64' || matrix.arch }}
107
109
108
- - if : ${{ github.event_name == 'release' }}
110
+ - if : ${{ github.event_name == 'release' && matrix.library == false && matrix.apcu == '' }}
109
111
name : Store archive DLL
110
112
uses : actions/upload-artifact@v4
111
113
with :
112
- name : ${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch }}
113
- path : .\php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch }}.zip
114
+ name : ${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch == 'x64' && 'x86_64' || matrix.arch }}
115
+ path : .\php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch == 'x64' && 'x86_64' || matrix.arch }}.zip
114
116
overwrite : true
115
117
116
118
release :
You can’t perform that action at this time.
0 commit comments