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

this is to fix github actions error #176

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 9, 2021

  1. this to fix github actions error

    the LEAVE function is being used for stopping the script gracefully
    but it is also being used in the end for exiting after script have ran successfully,
    this might not break the build in local host but causing an error in Github actions
    as the script exits with exit 1, which is considered as failure even when the output gsi image is created successfully,
    this https://github.com/nit-in/erfan_gsi_mmx_6746/actions/runs/1206555548 run might give an idea
    as the gsi is created but workflow fails
    Solution: using other function BYE or exit 0 at the end
    
    Signed-off-by: nit-in <[email protected]>
    nit-in committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    9c43cd6 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2021

  1. update BYE function

    as the script runs successfully, unmount the partitions and clean the working directory
    before exiting same as LEAVE function
    
    Signed-off-by: nit-in <[email protected]>
    nit-in committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    2c992ce View commit details
    Browse the repository at this point in the history