kdjdjdjdjdjdjd
convert-to-yml / develop-branch (push) Successful in 31s Details

This commit is contained in:
giles 2023-10-23 11:46:32 +01:00
parent 895e213189
commit 9758df82ab
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ jobs:
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }} ./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
./tea pr ls -f=base,head,index -o csv ./tea pr ls -f=base,head,index -o csv
echo here echo here
echo $(./tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\") echo $(./tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\"")
echo i did it echo i did it
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\" | tr -d ' ' | tr "," "\n" | head -n 4 | tail -1) echo ::set-env name=PR::$(./tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\"" | tr -d ' ' | tr "," "\n" | head -n 4 | tail -1)
rm ./tea rm ./tea
echo PR: $PR echo PR: $PR
- run: git fetch - run: git fetch