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

This commit is contained in:
giles 2023-10-23 11:39:08 +01:00
parent b8b545850e
commit d00031a0bf
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ jobs:
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
chmod +x ./tea
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
./tea pr ls -f=base,head,index
./tea pr ls -f=base,head,index -o simple
echo here
echo $(./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |")
echo i did it
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index | 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 | grep "| master | ${{ github.ref_name }} " | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1)
rm ./tea
echo PR: $PR
- run: git fetch