Skip to content

Commit 3eec198

Browse files
committed
create zip
1 parent e504936 commit 3eec198

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/msbuild.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,25 @@ jobs:
2626
- name: Build
2727
working-directory: ${{env.GITHUB_WORKSPACE}}
2828
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
29-
run: msbuild SimpleXmlValidator.sln /p:Configuration=Release /p:Platform=x64 `
30-
/p:VcpkgEnableManifest=true
29+
run: msbuild SimpleXmlValidator.sln /p:Configuration=Release /p:Platform=x64 /p:VcpkgEnableManifest=true
3130

3231
- name: Upload artifact
3332
uses: actions/upload-artifact@v4
3433
with:
3534
name: x64-Release-Build
3635
path: ${{github.workspace}}\x64\Release\
37-
36+
37+
- name: Archive Release
38+
uses: thedoctor0/zip-release@0.7.5
39+
with:
40+
type: 'zip'
41+
filename: 'SimpleXmlValidator.zip'
42+
exclusions: '*.pdb'
43+
directory: ${{github.workspace}}/x64/Release
44+
3845
- name: Release
3946
uses: softprops/action-gh-release@v2
4047
if: github.ref_type == 'tag'
4148
with:
42-
files: |
43-
x64/Release/*.exe
44-
x64/Release/*.dll
49+
files: x64/Release/SimpleXmlValidator.zip
4550
generate_release_notes: false

0 commit comments

Comments
 (0)