~aleteoryx/muditaos

ref: d13a51d04428f679c6313e0e7f429a3f88afe8dc muditaos/cmake/modules/GitHubWorkerMessages.cmake -rw-r--r-- 901 bytes
d13a51d0 — Bartosz [MOS-785] Reworked updater dependencies into recovery 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function(github_message_standalone)
    if (NOT DEFINED ENV{GITHUB_WORKSPACE})
        return()
    endif()
        message("set-output name=package-standalone::${PACKAGE_STANDALONE_FILE_NAME}")
        message("::set-output name=package-standalone::${PACKAGE_STANDALONE_FILE_NAME}")
        message("set-output name=standalone-mime_type::${PACKAGE_STANDALONE_MIME}")
        message("::set-output name=standalone-mime_type::${PACKAGE_STANDALONE_MIME}")
endfunction()

function(github_message_update)
    if (NOT DEFINED ENV{GITHUB_WORKSPACE})
        return()
    endif()
        message("set-output name=package-update::${PACKAGE_UPDATE_FILE_NAME}")
        message("::set-output name=package-update::${PACKAGE_UPDATE_FILE_NAME}")
        message("set-output name=update-mime_type::${PACKAGE_UPDATE_MIME}")
        message("::set-output name=update-mime_type::${PACKAGE_UPDATE_MIME}")
endfunction()