mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7986] Migrate ADF from Travis to Github actions (#8050)
* rebased * [ci:force]
This commit is contained in:
@@ -12,6 +12,17 @@
|
||||
# git commit -m "[affected:project-name1,project-name2] you commit message"
|
||||
#
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Affected projects calculation
|
||||
# ---------------------------------------------------------------
|
||||
if [[ $COMMIT_MESSAGE == *"[affected:"* ]]; then
|
||||
PROJECTS=$(echo "$COMMIT_MESSAGE" | grep -o "\[affected\:[^]]*\]" | sed -e 's#\[affected:##g' | sed -e 's#\]##g')
|
||||
|
||||
if [[ $PROJECTS == "*" ]]; then
|
||||
export NX_CALCULATION_FLAGS="--all"
|
||||
fi
|
||||
fi
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Forced CI run
|
||||
# ---------------------------------------------------------------
|
||||
@@ -21,3 +32,4 @@ if [[ $COMMIT_MESSAGE == *"[ci:force]"* ]]; then
|
||||
else
|
||||
export CI_FORCE_RUN=false
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user