Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): fix log file upload #297

Merged
merged 5 commits into from
May 26, 2024
Merged

Conversation

KwadFan
Copy link
Member

@KwadFan KwadFan commented May 24, 2024

As seen in this example run: https://github.com/mainsail-crew/MainsailOS/actions/runs/8959578689 ,
an error occurs during the phase to upload the build log.

The issue is introduced due the failing Rename Image step. Because, if the build fails there is no according image to rename, which results in an empty IMAGEenvironment variable. This leads to an incorrect renamed log file and
also duplicates failing steps which should not executed if build fails.
Bildschirmfoto_2024-05-24_23-33-44

Therefor changing the order of steps, triggers and naming of log file.

Signed-off-by: Stephan Wendel <[email protected]>
@KwadFan KwadFan requested a review from meteyou May 24, 2024 21:35
@KwadFan KwadFan self-assigned this May 24, 2024
@KwadFan KwadFan added the bug Something isn't working label May 24, 2024
KwadFan added 4 commits May 26, 2024 10:49
* Set order to previous locations

Signed-off-by: Stephan Wendel <[email protected]>
Will be removed after testing, due revert

Signed-off-by: Stephan Wendel <[email protected]>
Signed-off-by: Stephan Wendel <[email protected]>
@KwadFan KwadFan changed the title fix(build): change step order fix(build): fix log file upload May 26, 2024
@KwadFan KwadFan merged commit 2e04d34 into mainsail-crew:develop May 26, 2024
9 of 16 checks passed
@KwadFan KwadFan deleted the fix/build branch May 26, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants