Skip to content

Commit 882c252

Browse files
authored
Update deploy.yml
1 parent c37cedb commit 882c252

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ jobs:
3232
- name: Build the application
3333
run: |
3434
cd ./ConnectX.${{ matrix.configuration }}
35-
dotnet publish -f net9.0 -c Release -r linux-x64 --self-contained true /p:PublishSingleFile=true
35+
dotnet publish -f net9.0 -c Release -r linux-x64 --self-contained false /p:PublishSingleFile=true
36+
37+
- name: Remove extra files
38+
run: |
39+
cd ./ConnectX.${{ matrix.configuration }}/bin/Release/net9.0/linux-x64/publish/
40+
rm -f *.pdb
41+
rm -f *.json
3642
3743
- name: Upload build artifacts
3844
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)