Skip to content

Commit 11e13bc

Browse files
KebooCopilot
andcommitted
Include Demo3 app in release artifacts
Add MaterialDesign3.Demo.Wpf (Demo3App) alongside the existing MainDemo.Wpf (DemoApp) in the build and release workflows: - Upload Demo3App build output as a separate artifact in build_artifacts.yml - Download, zip, and attach Demo3App.zip to the GitHub release in release.yml Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent fa6b1cc commit 11e13bc

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.github/workflows/build_artifacts.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,9 @@ jobs:
7272
with:
7373
name: DemoApp
7474
path: "src/MainDemo.Wpf/bin/${{ env.buildConfiguration }}"
75+
76+
- name: Upload Demo3 App
77+
uses: actions/upload-artifact@v4
78+
with:
79+
name: Demo3App
80+
path: "src/MaterialDesign3.Demo.Wpf/bin/${{ env.buildConfiguration }}"

.github/workflows/release.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,27 @@ jobs:
135135
name: DemoApp
136136
path: demo-app
137137

138+
- name: Download Demo3 App Artifacts
139+
uses: actions/download-artifact@v8
140+
with:
141+
name: Demo3App
142+
path: demo3-app
143+
138144
- name: Zip Demo App
139145
run: zip -r DemoApp.zip demo-app/*
140146

147+
- name: Zip Demo3 App
148+
run: zip -r Demo3App.zip demo3-app/*
149+
141150
- name: Download Release Notes
142151
uses: actions/download-artifact@v8
143152
with:
144153
name: ReleaseNotes
145154

146155
- name: Create Release
147156
run: |
148-
# We can't use glob pattern because of this bug https://github.com/cli/cli/issues/5099
149-
gh release create v${{ inputs.milestone }} --repo '${{ github.repository }}' --draft --latest --title "${{ inputs.milestone }}" --notes-file ReleaseNotes.md (Get-Item '${{ github.workspace }}/nugets/*.nupkg') '${{ github.workspace }}/DemoApp.zip'
157+
# We can't use glob pattern because of this bug https://github.com/cli/cli/issues/5099
158+
gh release create v${{ inputs.milestone }} --repo '${{ github.repository }}' --draft --latest --title "${{ inputs.milestone }}" --notes-file ReleaseNotes.md (Get-Item '${{ github.workspace }}/nugets/*.nupkg') '${{ github.workspace }}/DemoApp.zip' '${{ github.workspace }}/Demo3App.zip'
150159
151160
update_wiki:
152161
needs: [create_release]

0 commit comments

Comments
 (0)