Skip to content

Commit

Permalink
Remove debug files from GUI build (#441)
Browse files Browse the repository at this point in the history
* Remove debug files from GUI build

* Just in case

* Also update build-pr

* Forgot to stage

* Match build-pr dest names with build

* Specify project to restore
  • Loading branch information
ScrubN committed Dec 11, 2022
1 parent ffee5d8 commit 23984a5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-pr.yml
Expand Up @@ -20,9 +20,9 @@ jobs:
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
run: dotnet restore TwitchDownloaderWPF
- name: Build Windows GUI
run: dotnet publish TwitchDownloaderWPF -p:PublishProfile=Windows
run: dotnet publish TwitchDownloaderWPF -p:PublishProfile=Windows -p:DebugType=None -p:DebugSymbols=false

- name: Download File To Workspace
# You may pin to the exact commit or the version.
Expand All @@ -41,13 +41,13 @@ jobs:
uses: vimtor/action-zip@v1
with:
files: "TwitchDownloaderWPF/bin/Release/net6.0-windows/publish/win-x64"
dest: TwitchDownloader-Windows-x64.zip
dest: TwitchDownloaderGUI-Windows-x64.zip

- name: Upload Artifact Asset
uses: actions/upload-artifact@v3
with:
name: TwitchDownloader-Windows-x64.zip
path: TwitchDownloader-Windows-x64.zip
name: TwitchDownloaderGUI-Windows-x64.zip
path: TwitchDownloaderGUI-Windows-x64.zip

build-cli:
runs-on: ubuntu-20.04
Expand All @@ -61,13 +61,13 @@ jobs:
- name: Restore dependencies
run: dotnet restore TwitchDownloaderCLI
- name: Build
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=Windows /p:DebugType=None /p:DebugSymbols=false
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=Windows -p:DebugType=None -p:DebugSymbols=false
- name: Build
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=Linux /p:DebugType=None /p:DebugSymbols=false
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=Linux -p:DebugType=None -p:DebugSymbols=false
- name: Build
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=LinuxAlpine /p:DebugType=None /p:DebugSymbols=false
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=LinuxAlpine -p:DebugType=None -p:DebugSymbols=false
- name: Build
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=LinuxArm /p:DebugType=None /p:DebugSymbols=false
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=LinuxArm -p:DebugType=None -p:DebugSymbols=false

- name: Zip Windows CLI
uses: vimtor/action-zip@v1
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Restore dependencies
run: dotnet restore TwitchDownloaderCLI
- name: Build
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=MacOS /p:DebugType=None /p:DebugSymbols=false
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=MacOS -p:DebugType=None -p:DebugSymbols=false

- name: Zip Release
uses: vimtor/action-zip@v1
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Expand Up @@ -45,9 +45,9 @@ jobs:
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
run: dotnet restore TwitchDownloaderWPF
- name: Build Windows GUI
run: dotnet publish TwitchDownloaderWPF -p:PublishProfile=Windows
run: dotnet publish TwitchDownloaderWPF -p:PublishProfile=Windows -p:DebugType=None -p:DebugSymbols=false

- name: Download File To Workspace
# You may pin to the exact commit or the version.
Expand Down Expand Up @@ -102,13 +102,13 @@ jobs:
- name: Restore dependencies
run: dotnet restore TwitchDownloaderCLI
- name: Build
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=Windows /p:DebugType=None /p:DebugSymbols=false
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=Windows -p:DebugType=None -p:DebugSymbols=false
- name: Build
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=Linux /p:DebugType=None /p:DebugSymbols=false
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=Linux -p:DebugType=None -p:DebugSymbols=false
- name: Build
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=LinuxAlpine /p:DebugType=None /p:DebugSymbols=false
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=LinuxAlpine -p:DebugType=None -p:DebugSymbols=false
- name: Build
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=LinuxArm /p:DebugType=None /p:DebugSymbols=false
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=LinuxArm -p:DebugType=None -p:DebugSymbols=false

- name: Zip Windows CLI
uses: vimtor/action-zip@v1
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
- name: Restore dependencies
run: dotnet restore TwitchDownloaderCLI
- name: Build
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=MacOS /p:DebugType=None /p:DebugSymbols=false
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=MacOS -p:DebugType=None -p:DebugSymbols=false

- name: Zip Release
uses: vimtor/action-zip@v1
Expand Down

0 comments on commit 23984a5

Please sign in to comment.