@@ -148,10 +148,8 @@ jobs:
148148 # ##
149149 # ## Export current image
150150 # ##
151- - name : " [Artifact Save] (try-1)"
152- id : upload-1
153- 154- continue-on-error : true
151+ - name : " [Artifact Save] Upload built artifact"
152+ 155153 with :
156154 name : ${{ steps.set-artifact-name.outputs.curr }}
157155 path : ${{ steps.set-artifact-name.outputs.curr }}
@@ -160,28 +158,3 @@ jobs:
160158 post_command : |
161159 make load INFILE={{download_path}}
162160 if : ${{ inputs.upload_artifact }}
163-
164- - name : " [Artifact Save] (try-2)"
165- id : upload-2
166- 167- continue-on-error : true
168- with :
169- name : ${{ steps.set-artifact-name.outputs.curr }}
170- path : ${{ steps.set-artifact-name.outputs.curr }}
171- pre_command : |
172- make save-verify VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} OUTFILE=${{ steps.set-artifact-name.outputs.curr }} INFILE=${{ steps.set-artifact-name.outputs.curr }}
173- post_command : |
174- make load INFILE={{download_path}}
175- if : ${{ inputs.upload_artifact && steps.upload-1.outcome == 'failure' }}
176-
177- - name : " [Artifact Save] (try-3)"
178- id : upload-3
179- 180- with :
181- name : ${{ steps.set-artifact-name.outputs.curr }}
182- path : ${{ steps.set-artifact-name.outputs.curr }}
183- pre_command : |
184- make save-verify VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} OUTFILE=${{ steps.set-artifact-name.outputs.curr }} INFILE=${{ steps.set-artifact-name.outputs.curr }}
185- post_command : |
186- make load INFILE={{download_path}}
187- if : ${{ inputs.upload_artifact && steps.upload-2.outcome == 'failure' }}
0 commit comments