ci(linux): regroup checks [skip ci]

This commit is contained in:
Baptiste Augrain
2024-02-22 13:34:57 +01:00
parent d87569085d
commit 3b86373e7c
2 changed files with 17 additions and 20 deletions

View File

@@ -6,12 +6,7 @@ set -e
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
echo "It's a PR"
if [[ "${OS_NAME}" != "linux" || "${VSCODE_ARCH}" == "x64" ]]; then
export SHOULD_BUILD="yes"
else
export SHOULD_BUILD="no"
fi
export SHOULD_BUILD="yes"
export SHOULD_DEPLOY="no"
elif [[ "${GITHUB_EVENT_NAME}" == "push" ]]; then
echo "It's a Push"