|
33 | 33 | package-version: |
34 | 34 | description: 'The semver of the npm release' |
35 | 35 | required: false |
36 | | - default: 'next' |
| 36 | + default: 'test' |
37 | 37 | version: |
38 | 38 | description: 'The GitHub release version' |
39 | 39 | required: false |
|
80 | 80 | - name: 'Run ${{github.event.inputs.version}} xpm test' |
81 | 81 | run: bash build-assets/scripts/test.sh --package-version ${{github.event.inputs.package-version}} --version ${{github.event.inputs.version}} --xpm |
82 | 82 |
|
83 | | - - name: Upload platform tests report |
84 | | - uses: actions/upload-artifact@v4 |
85 | | - with: |
86 | | - name: tests-report-win32-x64 |
87 | | - path: ${{github.workspace}}/build-assets/build/win32-x64/artefacts/tests-report-*.md |
88 | | - overwrite: true |
89 | | - |
90 | | - generate-tests-report: |
91 | | - name: 'Generate tests report for Windows Build Tools@${{github.event.inputs.version}}' |
92 | | - runs-on: ubuntu-22.04 |
93 | | - needs: [win32-x64-test] |
94 | | - |
95 | | - steps: |
96 | | - - name: Download platform test reports |
97 | | - uses: actions/download-artifact@v4 |
98 | | - with: |
99 | | - path: ${{github.workspace}}/build-assets/artefacts |
100 | | - merge-multiple: true |
101 | | - |
102 | | - - name: Concatenate platform test reports |
103 | | - run: | |
104 | | - ls -lR ${{github.workspace}}/build-assets/artefacts |
105 | | - touch ${{github.workspace}}/build-assets/artefacts/tests-report.md |
106 | | - echo "---" >>${{github.workspace}}/build-assets/artefacts/tests-report.md |
107 | | - echo "title: Windows Build Tools ${{github.event.inputs.version}} test results" >>${{github.workspace}}/build-assets/artefacts/tests-report.md |
108 | | - echo "permalink: /dev-tools/windows-build-tools/tests/${{github.event.inputs.version}}/" >>${{github.workspace}}/build-assets/artefacts/tests-report.md |
109 | | - echo >>${{github.workspace}}/build-assets/artefacts/tests-report.md |
110 | | - echo "comments: true" >>${{github.workspace}}/build-assets/artefacts/tests-report.md |
111 | | - echo >>${{github.workspace}}/build-assets/artefacts/tests-report.md |
112 | | - echo "date: $(date "+%Y-%m-%d %H:%M:%S %z")" >>${{github.workspace}}/build-assets/artefacts/tests-report.md |
113 | | - echo >>${{github.workspace}}/build-assets/artefacts/tests-report.md |
114 | | - echo "---" >>${{github.workspace}}/build-assets/artefacts/tests-report.md |
115 | | - echo >>${{github.workspace}}/build-assets/artefacts/tests-report.md |
116 | | - (cd ${{github.workspace}}; cat -s build-assets/artefacts/tests-report-win32-x64.md | tee -a build-assets/artefacts/tests-report.md) |
117 | | - mv -v ${{github.workspace}}/build-assets/artefacts/tests-report.md ${{github.workspace}}/build-assets/artefacts/${{github.event.inputs.version}}.md |
118 | | -
|
119 | | - - name: Upload tests report |
120 | | - uses: actions/upload-artifact@v4 |
121 | | - with: |
122 | | - name: tests-report |
123 | | - path: ${{github.workspace}}/build-assets/artefacts/${{github.event.inputs.version}}.md |
124 | | - overwrite: true |
125 | 83 |
|
126 | 84 | # ----------------------------------------------------------------------------- |
0 commit comments