diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index f9d93b25..0ddefe18 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -72,12 +72,14 @@ jobs: ZIP_FILENAME='${{ steps.build.outputs.ZIP_FILENAME }}' ZIP_VERSION='${{ steps.build.outputs.ZIP_VERSION }}' ZIP_SHORT_COMMIT_ID='${{ steps.build.outputs.ZIP_SHORT_COMMIT_ID }}' + ZIP_BUILD_TYPE='${{ steps.build.outputs.ZIP_BUILD_TYPE }}' ZIP_SHA256='${{ steps.build.outputs.ZIP_SHA256 }}' ZIP_MD5='${{ steps.build.outputs.ZIP_MD5 }}' # Displaying informations... printf '%s\n' "::notice::Filename: ${ZIP_FILENAME:-Missing}" printf '%s\n' "::notice::Version: ${ZIP_VERSION:-Missing}" printf '%s\n' "::notice::Short commit ID: ${ZIP_SHORT_COMMIT_ID:-Missing}" + printf '%s\n' "::notice::Build type: ${ZIP_BUILD_TYPE:-Missing}" printf '%s\n' "::notice::SHA-256: ${ZIP_SHA256:-Missing}" printf '%s\n' "::notice::MD5: ${ZIP_MD5:-Missing}" : "${ZIP_FOLDER:?}" || exit "${?}" diff --git a/build.sh b/build.sh index 4d40f6e1..f2d9d945 100755 --- a/build.sh +++ b/build.sh @@ -122,6 +122,7 @@ if test "${OPENSOURCE_ONLY:?}" != 'false'; then printf 'ZIP_FILENAME=\n' printf 'ZIP_VERSION=\n' printf 'ZIP_SHORT_COMMIT_ID=%s\n' "${ZIP_SHORT_COMMIT_ID?}" + printf 'ZIP_BUILD_TYPE=%s\n' "${BUILD_TYPE?}" printf 'ZIP_SHA256=\n' printf 'ZIP_MD5=\n' } >> "${GITHUB_OUTPUT?}" @@ -316,6 +317,7 @@ if test "${GITHUB_JOB:-false}" != 'false'; then printf 'ZIP_FILENAME=%s\n' "${ZIP_FILENAME?}" printf 'ZIP_VERSION=%s\n' "${MODULE_VER?}" printf 'ZIP_SHORT_COMMIT_ID=%s\n' "${ZIP_SHORT_COMMIT_ID?}" + printf 'ZIP_BUILD_TYPE=%s\n' "${BUILD_TYPE?}" printf 'ZIP_SHA256=%s\n' "${ZIP_SHA256?}" printf 'ZIP_MD5=%s\n' "${ZIP_MD5?}" } >> "${GITHUB_OUTPUT?}"