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

This commit is contained in:
giles 2023-10-23 11:33:44 +01:00
parent 507a56a8c5
commit b8b545850e
2 changed files with 4 additions and 16 deletions

View File

@ -43,18 +43,6 @@ jobs:
CI_COMMIT_AUTHOR: Continuous Integration CI_COMMIT_AUTHOR: Continuous Integration
run: | run: |
git branch -r git branch -r
- name: get PR number
run: |
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
echo here
export PRR=$(./tea pr ls -f=base,head,index | grep develop/35 | tr -d ' ')
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)
#rm ./tea
#echo PR: $PR
- name: diff - name: diff
env: env:
CI_COMMIT_MESSAGE: converted to yml for review. CI_COMMIT_MESSAGE: converted to yml for review.

View File

@ -27,11 +27,11 @@ jobs:
./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
echo here echo here
./tea pr ls -f=base,head,index | grep "whynot" 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
- name: get build branch name - name: get build branch name
run: | run: |