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 7979 with :
8080 path : |
8181 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-
8385
8486 - name : Install build command
8587 run : .\.github\workflows\install.ps1
@@ -96,21 +98,21 @@ jobs:
9698 REPORT_EXIT_STATUS : 1
9799 NO_INTERACTION : 1
98100
99- - if : ${{ github.event_name == 'release' }}
101+ - if : ${{ github.event_name == 'release' && matrix.library == false && matrix.apcu == '' }}
100102 name : Archive DLL
101103 run : |-
102104 Copy-Item .\php_${{ env.PHP_EXT }}.dll .\$env:EXT_NAME.dll
103105 Compress-Archive -Path .\$env:EXT_NAME.dll -Destination .\$env:EXT_NAME.zip
104106 shell : pwsh
105107 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 }}
107109
108- - if : ${{ github.event_name == 'release' }}
110+ - if : ${{ github.event_name == 'release' && matrix.library == false && matrix.apcu == '' }}
109111 name : Store archive DLL
110112 uses : actions/upload-artifact@v4
111113 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
114116 overwrite : true
115117
116118 release :
You can’t perform that action at this time.
0 commit comments