................
build-develop-branch / build-branch (push) Has been skipped Details
convert-to-yml / develop-branch (push) Successful in 28s Details

This commit is contained in:
giles 2023-10-22 03:11:53 +01:00
parent e9a8776e3a
commit fa6b611558
1 changed files with 2 additions and 0 deletions

View File

@ -20,8 +20,10 @@ jobs:
run: | run: |
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 pr ls
./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" ./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |"
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
- name: get build branch name - name: get build branch name
run: | run: |
firstString=${{ github.ref_name }} firstString=${{ github.ref_name }}