File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 46
46
id : generate
47
47
run : |
48
48
REPO='${{ github.repository }}'
49
- echo "::set-output name= image:: ghcr.io/${REPO,,}/ubuntu/focal/build"
49
+ echo "image= ghcr.io/${REPO,,}/ubuntu/focal/build" >> $GITHUB_OUTPUT
50
50
51
51
- name : ⛴️ Build container image
52
52
run : docker build -t ${{ steps.generate.outputs.image }} -f Dockerfile .
Original file line number Diff line number Diff line change 96
96
NUM_CORES : ${{ matrix.cores }}
97
97
98
98
- name : Upload test results
99
- # We always want the test results to be uploaded, even when cancelled.
99
+ # If the job was not cancelled, we want to save the result (this includes
100
+ # when the job fails). See warning here:
100
101
# https://docs.github.com/en/actions/learn-github-actions/expressions#always
101
- if : ${{ always () }}
102
+ if : ${{ !cancelled () }}
102
103
# TODO: This runnner is running on a self-hosted CPU. In order to upgrade
103
104
# to v4, need to upgrade the machine to support node20.
104
105
uses : actions/upload-artifact@v3
@@ -285,17 +286,19 @@ jobs:
285
286
./run_reg_test.py ${{ matrix.suite }} -show_failures -j2
286
287
287
288
- name : Upload regression run files
289
+ if : ${{ !cancelled() }}
288
290
uses : actions/upload-artifact@v4
289
291
with :
290
292
name : ${{matrix.name}}_run_files
291
293
path : |
292
294
vtr_flow/**/*.out
293
- vtr_flow/**/*.blif
295
+ # vtr_flow/**/*.blif # Removed since it was taking too much space and was hardly used.
294
296
vtr_flow/**/*.p
295
297
vtr_flow/**/*.net
296
298
vtr_flow/**/*.r
297
299
298
300
- name : Upload regression results
301
+ if : ${{ !cancelled() }}
299
302
uses : actions/upload-artifact@v4
300
303
with :
301
304
name : ${{matrix.name}}_results
You can’t perform that action at this time.
0 commit comments