Skip to content

Commit a558195

Browse files
committed
Manipulate the PHP workflow.
1 parent 44f24c3 commit a558195

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/reusable-phpunit-tests-v3.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,20 @@ jobs:
120120
with:
121121
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
122122

123+
- name: Checkout repository
124+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
125+
with:
126+
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
127+
repository: 'docker-library/php'
128+
path: some-bad-folder
129+
130+
- name: Upload HTML coverage report as artifact
131+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
132+
with:
133+
name: wp-code-coverage${{ inputs.multisite && '-multisite' || '-single' }}-${{ github.sha }}
134+
path: some-bad-folder
135+
overwrite: true
136+
123137
- name: Set up Node.js
124138
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
125139
with:
@@ -220,7 +234,7 @@ jobs:
220234
with:
221235
name: wp-code-coverage${{ inputs.multisite && '-multisite' || '-single' }}-${{ github.sha }}
222236
path: wp-code-coverage${{ inputs.multisite && '-multisite' || '-single' }}-${{ github.sha }}
223-
overwrite: true
237+
overwrite: false
224238

225239
- name: Ensure version-controlled files are not modified or deleted
226240
run: git diff --exit-code

0 commit comments

Comments
 (0)