From 93b41d71f8537647311b11a6a8e18399a1932c61 Mon Sep 17 00:00:00 2001 From: Arun Date: Mon, 22 Jan 2024 17:41:23 -0800 Subject: [PATCH] Quote envvar to match documentation --- .github/workflows/build.yml | 4 ++-- .github/workflows/draft-release.yml | 2 +- .github/workflows/sync-wiki.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 86c2c639..700aacba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,12 +58,12 @@ jobs: fi npm version --no-git-tag-version $VERSION_STRING - echo "version_build=${VERSION_STRING}+${RUN_NUMBER}" >> $GITHUB_OUTPUT + echo "version_build=${VERSION_STRING}+${RUN_NUMBER}" >> "$GITHUB_OUTPUT" - name: Get npm cache directory id: npm-cache-dir run: | - echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT + echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT" - uses: actions/cache@v2 id: npm-cache diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 8b123e65..5541d1eb 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -34,7 +34,7 @@ jobs: id: version_step run: | PACKAGE_VERSION=$(node -p "require('./package.json').version") - echo "version=${PACKAGE_VERSION}" >> $GITHUB_OUTPUT + echo "version=${PACKAGE_VERSION}" >> "$GITHUB_OUTPUT" - name: Install dependencies run: "npm ci" diff --git a/.github/workflows/sync-wiki.yml b/.github/workflows/sync-wiki.yml index 5c71d10b..adbdedb2 100644 --- a/.github/workflows/sync-wiki.yml +++ b/.github/workflows/sync-wiki.yml @@ -14,8 +14,8 @@ jobs: - id: get-commit-info run: | - echo "author=$(git log -1 --pretty=format:'%an <%ae>')" >> $GITHUB_OUTPUT - echo "message=$(git show -s --format=%B)" >> $GITHUB_OUTPUT + echo "author=$(git log -1 --pretty=format:'%an <%ae>')" >> "$GITHUB_OUTPUT" + echo "message=$(git show -s --format=%B)" >> "$GITHUB_OUTPUT" - run: git clone https://$GITHUB_TOKEN@github.com/vmware/vrealize-developer-tools.wiki.git /tmp/wiki-repo env: