Skip to content

Commit

Permalink
build: force to publish single file
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Jan 18, 2024
1 parent 41e985d commit 78db7fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- run: |
dotnet build src/LipUI/LipUI.csproj -c Release -o bin -r ${{ matrix.runtime }} `
-p:DebugType=none -p:Platform=${{ matrix.platform }} -p:PublishSingleFile=true
-p:DebugType=none -p:Platform=${{ matrix.platform }}
- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- run: |
dotnet build src/LipUI/LipUI.csproj -c Release -o bin -r ${{ matrix.runtime }} `
-p:DebugType=none -p:Platform=${{ matrix.platform }} -p:PublishSingleFile=true
-p:DebugType=none -p:Platform=${{ matrix.platform }}
- uses: actions/upload-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions src/LipUI/LipUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<EnableMsixTooling>true</EnableMsixTooling>
<WindowsPackageType>None</WindowsPackageType>

<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
</PropertyGroup>
Expand Down

0 comments on commit 78db7fc

Please sign in to comment.