File tree Expand file tree Collapse file tree 1 file changed +22
-6
lines changed Expand file tree Collapse file tree 1 file changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -102,21 +102,37 @@ jobs:
102102 path : |
103103 repos/zephyr/twister-out/twister.xml
104104
105- # This is needed to allow publishing results from PR from forked repos.
106105 - name : Upload Event file
107106 uses : actions/upload-artifact@v2
108107 if : always()
109108 with :
110- name : Event File
109+ name : Event_File
111110 path : ${{ github.event_path }}
112111
113- - name : Publish Unit Test Results
112+ publish_results :
113+ name : " Publish Tests Results"
114+ needs : build_with_twister
115+ runs-on : ubuntu-latest
116+ if : always()
117+ steps :
118+ - name : Download Artifacts
119+ uses : actions/download-artifact@v2
120+ with :
121+ path : artifacts
122+
123+ - name : debug
124+ run : |
125+ ls
126+ cd artifacts
127+ ls
128+
129+ - name : Publish Test Results
114130 uses : EnricoMi/publish-unit-test-result-action@v1
115131 if : always()
116132 with :
117- check_name : Unit Test Results
133+ check_name : Test Results
118134 github_token : ${{ secrets.GITHUB_TOKEN }}
119- event_file : artifacts/Event File /event.json
135+ event_file : artifacts/** /event.json
120136 event_name : ${{ github.event.workflow_run.event }}
121- files : " repos/zephyr/twister-out /twister.xml"
137+ files : " artifacts/** /twister.xml"
122138 comment_mode : update last
You can’t perform that action at this time.
0 commit comments