................
This commit is contained in:
parent
64f3f17681
commit
83b5fe9115
|
@ -74,12 +74,12 @@ 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
|
||||||
./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |"
|
./tea pr ls -f=base,head,index | grep "| master | ${{ env.PRODUCTION_BRANCH }} |"
|
||||||
./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' '
|
./tea pr ls -f=base,head,index | grep "| master | ${{ env.PRODUCTION_BRANCH }} |" | tr -d ' '
|
||||||
./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n"
|
./tea pr ls -f=base,head,index | grep "| master | env.PRODUCTION_BRANCH }} |" | tr -d ' ' | tr "|" "\n"
|
||||||
./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 |
|
./tea pr ls -f=base,head,index | grep "| master | env.PRODUCTION_BRANCH }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 |
|
||||||
./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1
|
./tea pr ls -f=base,head,index | grep "| master | ${{ env.PRODUCTION_BRANCH }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1
|
||||||
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index | grep "| master | ${{ env.PRODUCTION_BRANCH }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1)
|
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index | grep "| master | ${{ env.PRODUCTION_BRANCH }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1)
|
||||||
rm ./tea
|
rm ./tea
|
||||||
- name: get build branch name
|
- name: get build branch name
|
||||||
|
|
Loading…
Reference in New Issue