Skip to content

Commit ad8ba61

Browse files
authored
fix: remove unnecessary release files (#255)
1 parent ebd2fe8 commit ad8ba61

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/create-release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ jobs:
2828
run: dotnet build ./msgraph-developer-proxy-plugins/msgraph-developer-proxy-plugins.csproj -c Release -r ${{ matrix.architecture }} --no-self-contained
2929
- name: Add plugins to output
3030
run: cp ./msgraph-developer-proxy/bin/Release/net7.0/${{ matrix.architecture }}/GraphProxyPlugins ./${{ env.release }} -r
31+
- name: Remove unnecessary files
32+
run: |
33+
pushd
34+
cd ./${{ env.release }}
35+
Get-ChildItem -Filter *.pdb -Recurse | Remove-Item
36+
Get-ChildItem -Filter *.deps.json -Recurse | Remove-Item
37+
Get-ChildItem -Filter *.runtimeconfig.json -Recurse | Remove-Item
38+
popd
3139
- name: Archive Release ${{ env.release }}
3240
uses: thedoctor0/zip-release@master
3341
with:

0 commit comments

Comments
 (0)