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

This commit is contained in:
giles 2023-10-23 11:54:51 +01:00
parent 9758df82ab
commit 7df84cbdcc
1 changed files with 3 additions and 6 deletions

View File

@ -25,13 +25,10 @@ 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 -o csv 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 here export PR = "${PR//[\"\'\`]/}""
echo $(./tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\"") echo ::set-env name=$PR
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)
rm ./tea rm ./tea
echo PR: $PR
- run: git fetch - run: git fetch
- name: get build branch name - name: get build branch name
run: | run: |