[ACA-4649] fix gha checks

This commit is contained in:
Denys Vuika
2023-03-06 17:33:39 -05:00
committed by GitHub
parent b937e23281
commit 483af3165c
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -59,7 +59,7 @@ runs:
for PROJECT in "${PROJECTS[@]}"; do
echo "Update ${PROJECT} version to ${NEW_LIBRARY_VERSION}"
if [[ ${{ inputs.dry-run }} == false ]]; then
if [[ "${{ inputs.dry-run }}" == "false" ]]; then
(cd cd $PROJECTS_DIR/${PROJECT} && npm version --allow-same-version --no-git-tag-version --force ${NEW_LIBRARY_VERSION})
fi
done
@@ -79,7 +79,7 @@ runs:
do
cd $DIST_DIR/${PROJECT}
if [[ ${{ inputs.dry-run }} == false ]]; then
if [[ "${{ inputs.dry-run }}" == "false" ]]; then
echo -e "Publish with dry mode for project to GH registry: $PROJECT\n"
echo -e "npm publish --dry-run --tag ${{ inputs.npm_tag }} \n"
npm publish --dry-run --tag ${{ inputs.npm_tag }}
@@ -104,7 +104,7 @@ runs:
do
cd $DIST_DIR/${PROJECT}
if [[ ${{ inputs.dry-run }} == false ]]; then
if [[ "${{ inputs.dry-run }}" == "false" ]]; then
echo -e "Publish with dry mode for project to NPM registry: $PROJECT\n"
echo -e "npm publish --dry-run --tag ${{ inputs.npm_tag }} \n"
npm publish --dry-run --tag ${{ inputs.npm_tag }}