Sfoglia il codice sorgente

Update benchmark.yml

quyuan01 1 anno fa
parent
commit
3665d65be7
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      .github/workflows/benchmark.yml

+ 3 - 1
.github/workflows/benchmark.yml

@@ -46,9 +46,11 @@ jobs:
         echo "start test"
         cd tools && python text_badcase.py pdf_json_label_0306.json pdf_json_label_0229.json json_files.zip text_badcase text_overall base_data_text.json
         cd tools && python ocr_badcase.py pdf_json_label_0306.json ocr_dataset.json json_files.zip ocr_badcase ocr_overall base_data_ocr.json
+  
+  notify_to_feishu:
     if: ${{ always() && !cancelled() && contains(needs.*.result, 'failure') && (github.ref_name == 'master') }}
     needs: [pdf-test]
-    runs-on: [pdf]
+    runs-on: pdf
     steps:
     - name: notify
       run: |