From e75f63dd894d9134606bdd353d378a9f92c72f43 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 7 Mar 2023 12:56:03 +0000 Subject: [PATCH] [ACA-4649] fix destination path for npm publish --- .github/actions/publish-libs/action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/publish-libs/action.yml b/.github/actions/publish-libs/action.yml index 97badad4a..a6161593d 100644 --- a/.github/actions/publish-libs/action.yml +++ b/.github/actions/publish-libs/action.yml @@ -35,8 +35,8 @@ runs: - name: update libs version shell: bash run: | - export DIST_DIR=./dist/@alfresco - PROJECTS_DIR=./projects + DIST_DIR="./dist/@alfresco" + PROJECTS_DIR="./projects" VERSION_IN_PACKAGE_JSON=$(jq -cr '.version' < package.json) if [[ ${{ inputs.branch_name }} =~ ^master.*?$ ]] ; then @@ -76,6 +76,8 @@ runs: - name: publish tag to GH registry shell: bash run: | + DIST_DIR="./dist/@alfresco" + export PROJECTS=( 'aca-shared' 'aca-folder-rules' @@ -111,6 +113,8 @@ runs: - name: publish tag to NPM registry shell: bash run: | + DIST_DIR="./dist/@alfresco" + export PROJECTS=( 'aca-shared' 'aca-folder-rules'