Skip to content

Commit 16e41f4

Browse files
committed
re-generate workflows
1 parent e2e5587 commit 16e41f4

3 files changed

Lines changed: 2 additions & 50 deletions

File tree

.github/workflows/build-win32-x64.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,3 @@ jobs:
200200
- name: 'Run ${{github.event.inputs.version}} native test'
201201
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url pre-release
202202

203-
- name: Upload platform tests report
204-
uses: actions/upload-artifact@v4
205-
with:
206-
name: tests-report-win32-x64
207-
path: ${{github.workspace}}/build-assets/build/win32-x64/artefacts/tests-report-*.md
208-
overwrite: true

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
run: |
7272
ls -lLA
7373
npm --prefix build-assets install -dd
74-
./build-assets/node_modules/.bin/liquidjs --context '{ "XBB_RELEASE_VERSION": "${{github.event.inputs.version}}" }' --template @build-assets/templates/body-github-release-liquid.md --output .github/workflows/body-github-release.md
74+
./build-assets/node_modules/.bin/liquidjs --context '{ "releaseVersion": "${{github.event.inputs.version}}" }' --template @build-assets/templates/body-github-release-liquid.md --output .github/workflows/body-github-release.md
7575
cat .github/workflows/body-github-release.md
7676
7777
- name: 'Publish release'

.github/workflows/test-xpm.yml

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ on:
3333
package-version:
3434
description: 'The semver of the npm release'
3535
required: false
36-
default: 'next'
36+
default: 'test'
3737
version:
3838
description: 'The GitHub release version'
3939
required: false
@@ -80,47 +80,5 @@ jobs:
8080
- name: 'Run ${{github.event.inputs.version}} xpm test'
8181
run: bash build-assets/scripts/test.sh --package-version ${{github.event.inputs.package-version}} --version ${{github.event.inputs.version}} --xpm
8282

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
12583

12684
# -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)