Skip to content
This repository has been archived by the owner on Jan 30, 2022. It is now read-only.

Commit

Permalink
use a different way to not publishing debug symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
alisterpineda committed Jan 29, 2022
1 parent 1f1a701 commit 888c469
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,8 @@ jobs:
with:
dotnet-version: '6.0.x'
- name: Build
run: dotnet publish ${env:GITHUB_WORKSPACE}/MyMediaRenamer.Cli/MyMediaRenamer.Cli.csproj -c Release -r ${{matrix.runtime}} /p:PublishSingleFile=true /p:PublishTrimmed=true
run: dotnet publish ${env:GITHUB_WORKSPACE}/MyMediaRenamer.Cli/MyMediaRenamer.Cli.csproj -c Release -r ${{matrix.runtime}} /p:PublishSingleFile=true /p:PublishTrimmed=true /p:DebugType=None /p:DebugSymbols=false
shell: powershell
- name: Clean-up
working-directory: MyMediaRenamer.Cli/bin/Release/netcoreapp3.0/${{matrix.runtime}}/publish
shell: powershell
run: |
Remove-Item *.pdb
Get-ChildItem MyMediaRenamer.Cli* | Rename-Item -NewName {$_.name -replace '^MyMediaRenamer.Cli', 'MyMediaRenamer'}
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
Expand Down

0 comments on commit 888c469

Please sign in to comment.