Skip to content

Commit 0c13aed

Browse files
committed
ci: 优化ci构建,使trimmed正确移除程序集
1 parent fb0f308 commit 0c13aed

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
path: version.txt
5252
- name: Install Pupnet
5353
run: |
54-
dotnet tool install -g KuiperZone.PupNet --version 1.7.1
54+
dotnet tool install -g KuiperZone.PupNet --version 1.8.0
5555
- name: Get Deps
5656
run: |
5757
.\ffmpeg.ps1 ${{ matrix.cpu }}
@@ -140,9 +140,9 @@ jobs:
140140
path: version.txt
141141
- name: Install Pupnet
142142
run: |
143-
dotnet tool install -g KuiperZone.PupNet --version 1.7.1
144-
sudo apt update
145-
sudo apt install libfuse2
143+
dotnet tool install -g KuiperZone.PupNet --version 1.8.0
144+
sudo apt-get update
145+
sudo apt-get install libfuse2
146146
- name: Get Deps
147147
run: |
148148
chmod +x ffmpeg.sh
@@ -208,7 +208,7 @@ jobs:
208208
- name: Build ${{ matrix.cpu }}
209209
run: |
210210
dotnet restore
211-
dotnet publish --self-contained -r osx-${{ matrix.cpu }} -c Release -p:DebugType=None -p:DebugSymbols=false
211+
dotnet publish DownKyi/DownKyi.csproj --self-contained -r osx-${{ matrix.cpu }} -c Release -p:DebugType=None -p:DebugSymbols=false
212212
- name: Package app
213213
run: |
214214
chmod +x package.sh

script/pupnet/DownKyi.pupnet.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PublisherCopyright = Copyright (C) yaobiao131 2024
2424
PublisherLinkName = Home Page
2525
PublisherLinkUrl = https://github.com/yaobiao131/downkyicore
2626
PublisherEmail = 28655758+yaobiao131@users.noreply.github.com
27-
DotnetProjectPath = ../../
27+
DotnetProjectPath = ../../DownKyi/DownKyi.csproj
2828

2929
DesktopNoDisplay = false
3030
DesktopTerminal = false

script/pupnet/DownKyi.pupnet.trimmed.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ PublisherCopyright = Copyright (C) yaobiao131 2024
2424
PublisherLinkName = Home Page
2525
PublisherLinkUrl = https://github.com/yaobiao131/downkyicore
2626
PublisherEmail = 28655758+yaobiao131@users.noreply.github.com
27-
DotnetProjectPath = ../../
27+
DotnetProjectPath = ../../DownKyi/DownKyi.csproj
2828

2929
DesktopNoDisplay = false
3030
DesktopTerminal = false

0 commit comments

Comments
 (0)