File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 82
82
run : |
83
83
. venv/bin/activate
84
84
python tests/primer/__main__.py prepare --clone
85
- - name : Upload output diff
85
+ - name : Upload commit string
86
86
uses : actions/upload-artifact@v4.0.0
87
+ if : matrix.batchIdx == 0
87
88
with :
88
89
name : primer_commitstring
89
90
path :
@@ -105,7 +106,9 @@ jobs:
105
106
- name : Upload output
106
107
uses : actions/upload-artifact@v4.0.0
107
108
with :
108
- name : primer_output
109
+ name :
110
+ primer_output_main_${{ steps.python.outputs.python-version }}_batch${{
111
+ matrix.batchIdx }}
109
112
path : >-
110
113
tests/.pylint_primer_tests/output_${{ steps.python.outputs.python-version
111
114
}}_main_batch${{ matrix.batchIdx }}.txt
Original file line number Diff line number Diff line change @@ -174,14 +174,18 @@ jobs:
174
174
- name : Upload output of PR
175
175
uses : actions/upload-artifact@v4.0.0
176
176
with :
177
- name : primer_output_pr
177
+ name :
178
+ primer_output_pr_${{ steps.python.outputs.python-version }}_batch${{
179
+ matrix.batchIdx }}
178
180
path :
179
181
tests/.pylint_primer_tests/output_${{ steps.python.outputs.python-version
180
182
}}_pr_batch${{ matrix.batchIdx }}.txt
181
183
- name : Upload output of 'main'
182
184
uses : actions/upload-artifact@v4.0.0
183
185
with :
184
- name : primer_output_main
186
+ name :
187
+ primer_output_main_${{ steps.python.outputs.python-version }}_batch${{
188
+ matrix.batchIdx }}
185
189
path :
186
190
output_${{ steps.python.outputs.python-version }}_main_batch${{
187
191
matrix.batchIdx }}.txt
@@ -191,6 +195,8 @@ jobs:
191
195
run : |
192
196
echo ${{ github.event.pull_request.number }} | tee pr_number.txt
193
197
- name : Upload PR number
198
+ if :
199
+ startsWith(steps.python.outputs.python-version, '3.8') && matrix.batchIdx == 0
194
200
uses : actions/upload-artifact@v4.0.0
195
201
with :
196
202
name : pr_number
You can’t perform that action at this time.
0 commit comments