mirror of https://github.com/milvus-io/milvus.git
Add url in email for failure case (#7845)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/7848/head
parent
64918f80b2
commit
47d772735b
|
@ -35,7 +35,6 @@ jobs:
|
||||||
python scripts/get_tag.py >> ./${{ matrix.mode }}/logs/test_info.log
|
python scripts/get_tag.py >> ./${{ matrix.mode }}/logs/test_info.log
|
||||||
bash test.sh -m ${{ matrix.mode }} -t ${{ matrix.task }} -p ""
|
bash test.sh -m ${{ matrix.mode }} -t ${{ matrix.task }} -p ""
|
||||||
|
|
||||||
|
|
||||||
- name: 'Send mail'
|
- name: 'Send mail'
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: dawidd6/action-send-mail@v3
|
uses: dawidd6/action-send-mail@v3
|
||||||
|
@ -45,7 +44,7 @@ jobs:
|
||||||
username: ${{ secrets.TEST_EMAIL_USERNAME }}
|
username: ${{ secrets.TEST_EMAIL_USERNAME }}
|
||||||
password: ${{ secrets.TEST_EMAIL_PASSWORD }}
|
password: ${{ secrets.TEST_EMAIL_PASSWORD }}
|
||||||
subject: Deploy Test
|
subject: Deploy Test
|
||||||
body: "test ${{ matrix.mode }} ${{ matrix.task }} failed"
|
body: "test ${{ matrix.mode }} ${{ matrix.task }} failed \n You can view it at https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
|
||||||
to: ${{ secrets.QA_EMAIL_ADDRESS }}
|
to: ${{ secrets.QA_EMAIL_ADDRESS }}
|
||||||
from: GitHub Actions
|
from: GitHub Actions
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue