Skip to content

Commit

Permalink
fix(build): fix log file upload (#297)
Browse files Browse the repository at this point in the history
* fix(build): change step order

Signed-off-by: Stephan Wendel <[email protected]>

* chore(build): fix syntax

* Set order to previous locations

Signed-off-by: Stephan Wendel <[email protected]>

* test: add failing build for test

Will be removed after testing, due revert

Signed-off-by: Stephan Wendel <[email protected]>

* fix: fix log file naming

Signed-off-by: Stephan Wendel <[email protected]>

* Revert "test: add failing build for test"

This reverts commit 2829fe2.

---------

Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan authored May 26, 2024
1 parent a7e6d4e commit 2e04d34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/BuildImages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

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

- name: Compressing Image
Expand Down

0 comments on commit 2e04d34

Please sign in to comment.