From 2d148c49704f0cbe3f9009decae2bd5d3d38adb4 Mon Sep 17 00:00:00 2001 From: Junyan Qin <1010553892@qq.com> Date: Wed, 27 Dec 2023 15:52:12 +0000 Subject: [PATCH] =?UTF-8?q?test:=20=E5=A4=84=E7=90=86=E5=A4=9A=E8=A1=8C?= =?UTF-8?q?=E5=93=8D=E5=BA=94=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-pr.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index efe9892f..b581175d 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -36,9 +36,6 @@ jobs: with: python-version: '3.10' - - name: Install jq - run: sudo apt-get update && sudo apt-get install -y jq - - name: Install dependencies run: | cd qcg-tester @@ -69,7 +66,7 @@ jobs: - name: Set PR source branch as env variable if: github.event_name == 'issue_comment' run: | - PR_SOURCE_BRANCH=$(echo ${{ steps.get-pr.outputs.data }} | jq -r '.head.ref') + PR_SOURCE_BRANCH=$(echo "${{ steps.get-pr.outputs.data }}" | jq -r '.head.ref') echo "BRANCH=$PR_SOURCE_BRANCH" >> $GITHUB_ENV - name: Set PR Branch as bash env