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
This commit is contained in:
YANG QIA 2024-09-04 12:05:18 +08:00 committed by GitHub
parent b9c8705025
commit a0fb3a448d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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