Skip to content

Commit

Permalink
fix(build): change step order
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan committed May 24, 2024
1 parent a7e6d4e commit 4a10e29
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/BuildImages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,16 @@ jobs:
with:
config: ${{ matrix.config }}

- name: Upload failed Logfile
if: failure()
uses: actions/upload-artifact@v4
with:
name: failed-${{ steps.build.outputs.type }}-${{ steps.build.outputs.sbc }}.log
path: repository/src/build.log

- name: Rename image file
id: move-image
if: always()
if: success()
shell: bash
run: |
source repository/src/config
Expand All @@ -78,13 +85,6 @@ jobs:
echo "image=${IMAGE}" >> $GITHUB_OUTPUT
- name: Upload failed Logfile
if: failure()
uses: actions/upload-artifact@v4
with:
name: failed-${{ steps.move-image.outputs.image }}.log
path: repository/src/build.log

- name: Compressing Image
shell: bash
run: |
Expand Down

0 comments on commit 4a10e29

Please sign in to comment.