diff --git a/.github/workflows/qnx-build.yml b/.github/workflows/qnx-build.yml index 9625ef8..6662c9f 100644 --- a/.github/workflows/qnx-build.yml +++ b/.github/workflows/qnx-build.yml @@ -82,6 +82,11 @@ jobs: run: | set -euo pipefail + if [[ -z "${SCORE_QNX_LICENSE}" ]]; then + echo "::error::score-qnx-license secret is not set." + exit 1 + fi + LICENSE_DIR="/opt/score_qnx/license" sudo mkdir -p "${LICENSE_DIR}" echo "${SCORE_QNX_LICENSE}" | base64 --decode | sudo tee "${LICENSE_DIR}/licenses" >/dev/null