mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
Bumps the github-actions group in /.github/actions/adf-linking with 1 update: [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools). Updates `Alfresco/alfresco-build-tools` from 8.16.0 to 8.18.0 - [Release notes](https://github.com/alfresco/alfresco-build-tools/releases) - [Commits](https://github.com/alfresco/alfresco-build-tools/compare/v8.16.0...v8.18.0) --- updated-dependencies: - dependency-name: Alfresco/alfresco-build-tools dependency-version: 8.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
1.0 KiB
YAML
27 lines
1.0 KiB
YAML
name: "ADF linking"
|
|
description: "ADF linking"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v8.18.0
|
|
- name: clone and install
|
|
shell: bash
|
|
run: |
|
|
if [[ $COMMIT_MESSAGE == *"[link-adf:"* ]]; then
|
|
echo "BUILD_OPTS=--configuration=adf,e2e" >> $GITHUB_ENV
|
|
echo "TEST_OPTS=--configuration=adfprod" >> $GITHUB_ENV
|
|
echo "E2E_TSCONFIG=tsconfig.e2e.adf.json" >> $GITHUB_ENV
|
|
|
|
BRANCH=`echo $COMMIT_MESSAGE | grep -o "\[link-adf\:[^]]*\]" | sed -e 's#\[link-adf:##g' | sed -e 's#\]##g'`
|
|
echo "Cloning ADF with branch ${BRANCH}" && \
|
|
git clone https://github.com/Alfresco/alfresco-ng2-components.git --depth=1 --branch ${BRANCH} ../alfresco-ng2-components
|
|
# ADF theming needs it the styling
|
|
CWD=`pwd`
|
|
cd ../alfresco-ng2-components
|
|
npm install @angular/material
|
|
cd $CWD
|
|
else
|
|
echo -e "Using ADF from installed node_modules."
|
|
fi ;
|