Skip to content

Commit 18981a9

Browse files
committed
Correcting CI compression steps
1 parent 54eef8c commit 18981a9

File tree

651 files changed

+1878
-567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

651 files changed

+1878
-567
lines changed

.github/workflows/build.yaml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
libType: ['dynamic']
159159
uses: ./.github/workflows/test-node-step.yaml
160160
with:
161-
artifactType: 'uncompressed'
161+
artifactPattern: php-uncompressed-${{ matrix.phpVersion }}-node-${{ matrix.libType }}
162162
phpVersion: ${{ matrix.phpVersion }}
163163
testType: ${{ matrix.testType }}
164164
libType: ${{ matrix.libType }}
@@ -173,7 +173,7 @@ jobs:
173173
libType: ['shared']
174174
uses: ./.github/workflows/test-node-step.yaml
175175
with:
176-
artifactType: 'uncompressed'
176+
artifactPattern: php-uncompressed-${{ matrix.phpVersion }}-node-${{ matrix.libType }}
177177
phpVersion: ${{ matrix.phpVersion }}
178178
testType: ${{ matrix.testType }}
179179
libType: ${{ matrix.libType }}
@@ -188,7 +188,7 @@ jobs:
188188
libType: ['static']
189189
uses: ./.github/workflows/test-node-step.yaml
190190
with:
191-
artifactType: 'uncompressed'
191+
artifactPattern: php-uncompressed-${{ matrix.phpVersion }}-node-${{ matrix.libType }}
192192
phpVersion: ${{ matrix.phpVersion }}
193193
testType: ${{ matrix.testType }}
194194
libType: ${{ matrix.libType }}
@@ -202,7 +202,7 @@ jobs:
202202
libType: ['dynamic',]
203203
uses: ./.github/workflows/test-browser-step.yaml
204204
with:
205-
artifactType: 'uncompressed'
205+
artifactPattern: php-uncompressed-${{ matrix.phpVersion }}-*-${{ matrix.libType }}
206206
phpVersion: ${{ matrix.phpVersion }}
207207
libType: ${{ matrix.libType }}
208208

@@ -215,7 +215,7 @@ jobs:
215215
libType: ['shared',]
216216
uses: ./.github/workflows/test-browser-step.yaml
217217
with:
218-
artifactType: 'uncompressed'
218+
artifactPattern: php-uncompressed-${{ matrix.phpVersion }}-*-${{ matrix.libType }}
219219
phpVersion: ${{ matrix.phpVersion }}
220220
libType: ${{ matrix.libType }}
221221

@@ -228,12 +228,12 @@ jobs:
228228
libType: ['static',]
229229
uses: ./.github/workflows/test-browser-step.yaml
230230
with:
231-
artifactType: 'uncompressed'
231+
artifactPattern: php-uncompressed-${{ matrix.phpVersion }}-*-${{ matrix.libType }}
232232
phpVersion: ${{ matrix.phpVersion }}
233233
libType: ${{ matrix.libType }}
234234

235235
compress-packages:
236-
name: Compress PHP ${{ matrix.phpVersion }} w/${{ matrix.libType }} libs
236+
name: Compress PHP w/${{ matrix.libType }} libs
237237
runs-on: ubuntu-latest
238238
needs:
239239
- test-node-static
@@ -244,8 +244,7 @@ jobs:
244244
- test-browser-dynamic
245245
strategy:
246246
matrix:
247-
phpVersion: ['8.4', '8.3', '8.2', '8.1', '8.0']
248-
libType: ['static',]
247+
libType: ['static','shared','dynamic']
249248
steps:
250249
- name: Check out repository code
251250
uses: actions/checkout@v4
@@ -282,7 +281,7 @@ jobs:
282281
- name: Upload artifact
283282
uses: actions/upload-artifact@v4
284283
with:
285-
name: php-compressed-${{ matrix.phpVersion }}-${{ matrix.libType }}
284+
name: php-compressed-${{ matrix.libType }}
286285
include-hidden-files: true
287286
path: |
288287
third_party
@@ -300,7 +299,7 @@ jobs:
300299
libType: ['dynamic', 'static', 'shared']
301300
uses: ./.github/workflows/test-node-step.yaml
302301
with:
303-
artifactType: 'compressed'
302+
artifactPattern: php-compressed-${{ matrix.libType }}
304303
phpVersion: ${{ matrix.phpVersion }}
305304
testType: ${{ matrix.testType }}
306305
libType: ${{ matrix.libType }}
@@ -315,6 +314,6 @@ jobs:
315314
libType: ['dynamic', 'static', 'shared']
316315
uses: ./.github/workflows/test-browser-step.yaml
317316
with:
318-
artifactType: 'compressed'
317+
artifactPattern: php-compressed-${{ matrix.libType }}
319318
phpVersion: ${{ matrix.phpVersion }}
320319
libType: ${{ matrix.libType }}

.github/workflows/test-browser-step.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
libType:
1010
required: true
1111
type: string
12-
artifactType:
12+
artifactPattern:
1313
required: true
1414
type: string
1515

@@ -34,7 +34,7 @@ jobs:
3434
- name: Download artifact
3535
uses: actions/download-artifact@v4
3636
with:
37-
pattern: php-${{ inputs.artifactType }}-*-*-${{ inputs.libType }}
37+
pattern: ${{ inputs.artifactPattern }}
3838
merge-multiple: true
3939
path: ./
4040

.github/workflows/test-node-step.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
testType:
1313
required: true
1414
type: string
15-
artifactType:
15+
artifactPattern:
1616
required: true
1717
type: string
1818

@@ -33,7 +33,7 @@ jobs:
3333
- name: Download artifact
3434
uses: actions/download-artifact@v4
3535
with:
36-
pattern: php-${{ inputs.artifactType }}-${{ inputs.phpVersion }}-node-${{ inputs.libType }}
36+
pattern: ${{ inputs.artifactPattern }}
3737
merge-multiple: true
3838
path: ./
3939

demo-web/public/168.cgi-worker.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
-38.5 MB
Binary file not shown.

demo-web/public/216.cgi-worker.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

demo-web/public/22.cgi-worker.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

demo-web/public/239.cgi-worker.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

demo-web/public/287.cgi-worker.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

demo-web/public/293.cgi-worker.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)