From a0fb3a448daf28079e2853fcd5ba1cc076c1ce8b Mon Sep 17 00:00:00 2001 From: YANG QIA <2013xile@gmail.com> Date: Wed, 4 Sep 2024 12:05:18 +0800 Subject: [PATCH] fix(ci): json error (#5192) * fix(ci): pro plugins * fix: branch * fix: add quote * fix: branch * fix(ci): error * fix: typo * fix: error * fix: branch --- .github/workflows/build-pro-image.yml | 4 ++-- .github/workflows/manual-build-pro-image.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-pro-image.yml b/.github/workflows/build-pro-image.yml index 1436e4ec4f..0600375667 100644 --- a/.github/workflows/build-pro-image.yml +++ b/.github/workflows/build-pro-image.yml @@ -28,9 +28,9 @@ jobs: id: get-pro-plugins run: | if [[ "${{ github.head_ref || github.ref_name }}" == "main" ]]; then - echo "proRepos='${{ vars.PRO_PLUGIN_REPOS }}'" >> $GITHUB_OUTPUT + echo "proRepos=$(echo '${{ vars.PRO_PLUGIN_REPOS }}')" >> $GITHUB_OUTPUT else - echo "proRepos='${{ vars.NEXT_PRO_PLUGIN_REPOS }}'" >> $GITHUB_OUTPUT + echo "proRepos=$(echo '${{ vars.NEXT_PRO_PLUGIN_REPOS }}')" >> $GITHUB_OUTPUT fi - uses: actions/create-github-app-token@v1 id: app-token diff --git a/.github/workflows/manual-build-pro-image.yml b/.github/workflows/manual-build-pro-image.yml index 39cb329e76..c408036dfe 100644 --- a/.github/workflows/manual-build-pro-image.yml +++ b/.github/workflows/manual-build-pro-image.yml @@ -29,9 +29,9 @@ jobs: id: get-pro-plugins run: | if [[ "${{ github.head_ref || github.ref_name }}" == "main" ]]; then - echo "proRepos=${{ vars.PRO_PLUGIN_REPOS }}" >> $GITHUB_OUTPUT + echo "proRepos=$(echo '${{ vars.PRO_PLUGIN_REPOS }}')" >> $GITHUB_OUTPUT else - echo "proRepos=${{ vars.NEXT_PRO_PLUGIN_REPOS }}" >> $GITHUB_OUTPUT + echo "proRepos=$(echo '${{ vars.NEXT_PRO_PLUGIN_REPOS }}')" >> $GITHUB_OUTPUT fi - uses: actions/create-github-app-token@v1 id: app-token