mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
add echo on TAG_NPM; remove NX FLAGS sed exp
This commit is contained in:
6
.github/actions/setup/action.yml
vendored
6
.github/actions/setup/action.yml
vendored
@@ -77,12 +77,6 @@ runs:
|
||||
uses: ./.github/actions/before-install
|
||||
with:
|
||||
act: ${{ inputs.act }}
|
||||
# sanitize nx calculation flags string
|
||||
- name: input validation for NX CALCULATION FLAGS
|
||||
shell: bash
|
||||
run: |
|
||||
export NX_CALCULATION_FLAGS=$(echo $NX_CALCULATION_FLAGS | sed "s@'@@g")
|
||||
echo "NX_CALCULATION_FLAGS=$NX_CALCULATION_FLAGS" >> $GITHUB_ENV
|
||||
- name: link nx executable
|
||||
run: sudo ln -s $(npm bin)/nx /usr/bin/nx
|
||||
shell: bash
|
||||
|
@@ -32,9 +32,11 @@ runs:
|
||||
fi
|
||||
|
||||
if [[ GITHUB_REF_NAME == "master" ]]; then
|
||||
echo "Set up TAG_NPM to latest on master branch"
|
||||
TAG_NPM="latest"
|
||||
fi
|
||||
if [[ GITHUB_REF_NAME == "develop" ]]; then
|
||||
echo "Set up TAG_NPM to alpha on develop branch"
|
||||
TAG_NPM="alpha"
|
||||
fi
|
||||
echo "TAG_NPM=${TAG_NPM}" >> $GITHUB_ENV
|
||||
|
Reference in New Issue
Block a user