kdjdjdjdjdjdjd
convert-to-yml / develop-branch (push) Successful in 30s
Details
convert-to-yml / develop-branch (push) Successful in 30s
Details
This commit is contained in:
parent
b8b545850e
commit
d00031a0bf
|
@ -25,11 +25,11 @@ jobs:
|
||||||
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
|
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
|
||||||
chmod +x ./tea
|
chmod +x ./tea
|
||||||
./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
|
./tea pr ls -f=base,head,index -o simple
|
||||||
echo here
|
echo here
|
||||||
echo $(./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |")
|
echo $(./tea pr ls -f=base,head,index | 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 | 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
|
rm ./tea
|
||||||
echo PR: $PR
|
echo PR: $PR
|
||||||
- run: git fetch
|
- run: git fetch
|
||||||
|
|
Loading…
Reference in New Issue