File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,17 @@ jobs:
5050 run : dotnet publish ${{ env.PROJECT }} -c Release -o ${{matrix.OUTPUTDIR}} -p:PublishReadyToRun=true --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:UseAppHost=true -r ${{matrix.RUNTIMEID}}
5151 working-directory : Source/${{ env.SOLUTION_DIR }}
5252
53- - name : Delete PDB files
53+ - name : Delete PDB files (Linux)
54+ if : runner.os == 'Linux'
5455 working-directory : Source/${{ env.SOLUTION_DIR }}
5556 run : |
56- if [[ "${{ runner.os }}" == 'Linux' ]]; then
57- find . -name '*.pdb' -delete
58- elif [[ "${{ runner.os }}" == 'Windows' ]]; then
59- del /Q /F *.pdb
60- fi
57+ find . -name '*.pdb' -delete
58+
59+ - name : Delete PDB files (Windows)
60+ if : runner.os == 'Linux'
61+ working-directory : Source/${{ env.SOLUTION_DIR }}
62+ run : |
63+ del /Q /F *.pdb
6164
6265 - uses : vimtor/action-zip@v1
6366 with :
You can’t perform that action at this time.
0 commit comments