From 809351f25cbadff83f2c5b4e82cac57c76cd4bb2 Mon Sep 17 00:00:00 2001 From: Marek Fedorovic Date: Thu, 5 Oct 2023 13:57:16 +1100 Subject: [PATCH] feat: Publish sdk to GH Actions Packages --- .github/workflows/npm_publish_light.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/npm_publish_light.yml b/.github/workflows/npm_publish_light.yml index 4f5ddadc..c6a56f85 100644 --- a/.github/workflows/npm_publish_light.yml +++ b/.github/workflows/npm_publish_light.yml @@ -48,10 +48,10 @@ jobs: currentVersion=$(npm version | yq .$selectNodeName) currentSha=$(git rev-parse --short HEAD) newVersion="$currentVersion-$currentSha" - echo "DEBUG: selectNodeName=$selectNodeName" - echo "DEBUG: currentVersion=$currentVersion" - echo "DEBUG: currentSha=$currentSha" - echo "DEBUG: newVersion=$newVersion" + echo "D: selectNodeName=$selectNodeName" + echo "D: currentVersion=$currentVersion" + echo "D: currentSha=$currentSha" + echo "D: newVersion=$newVersion" npm version $newVersion echo "SDK_JS_PACKAGE_VERSION=$newVersion" >> "$GITHUB_OUTPUT" echo "" @@ -78,15 +78,15 @@ jobs: echo "Building SDK Client" cd ${{ matrix.settings.dirSdkJsClient }} pwd - ls -l + ls -lah npm install "$SDK_JS_PACKAGE_NAME@$SDK_JS_PACKAGE_VERSION" --foreground-scripts selectNodeName=${{ env.SDK_CLIENT_PACKAGE_NAME }} currentVersion=$(npm version | yq .$selectNodeName) currentSha=$(git rev-parse --short HEAD) newVersion="$currentVersion-$currentSha" - echo "DEBUG: selectNodeName=$selectNodeName" - echo "DEBUG: currentVersion=$currentVersion" - echo "DEBUG: currentSha=$currentSha" - echo "DEBUG: newVersion=$newVersion" + echo "D: selectNodeName=$selectNodeName" + echo "D: currentVersion=$currentVersion" + echo "D: currentSha=$currentSha" + echo "D: newVersion=$newVersion" npm version $newVersion echo ""