Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 committed Jul 14, 2023
1 parent 00b06ec commit e63c4f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/connect-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e63c4f1

Please sign in to comment.