diff --git a/.github/workflows/connect-test.yml b/.github/workflows/connect-test.yml index bc13efe..b34f186 100644 --- a/.github/workflows/connect-test.yml +++ b/.github/workflows/connect-test.yml @@ -62,9 +62,9 @@ jobs: run: | ticloud branch create -c ${{ env.CLUSTER_ID }} --branch-name ${{ matrix.region }} > ${{ matrix.region }} cat ${{ matrix.region }} - branchID=$echo(`cat ${{ matrix.region }} | grep -o 'bran-[a-zA-Z0-9]*'`) + branchID=`cat ${{ matrix.region }} | grep -o 'bran-[a-zA-Z0-9]*'` echo $branchID - ticloud branch get -c ${{ env.CLUSTER_ID }} -b $branchID > ${{ matrix.region }} + ticloud branch get -c ${{ env.CLUSTER_ID }} -b `cat ${{ matrix.region }} | grep -o 'bran-[a-zA-Z0-9]*'` > ${{ matrix.region }} cat ${{ matrix.region }} echo "BRANCH_ID=`echo $(jq '.id' ${{ matrix.region }}) | sed 's/"//g'`" >> $GITHUB_ENV