Skip to content

Commit a23d0c3

Browse files
committed
ci: update dotnet install action
1 parent 950d6c8 commit a23d0c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dotnet-winui3.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ jobs:
3030

3131
# Install the .NET Core workload
3232
- name: Install .NET Core
33-
uses: actions/setup-dotnet@v1
33+
uses: actions/setup-dotnet@v4
3434
with:
35-
dotnet-version: 8.0.x
35+
dotnet-version: 9.0.x
3636

3737
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
3838
- name: Setup MSBuild.exe
3939
uses: microsoft/setup-msbuild@v1.0.2
4040

4141
# Create the app package by building and packaging the project
4242
- name: Create the app package
43-
run: dotnet publish -r win-$env:Platform -p:PublishSingleFile=true --self-contained true /p:WindowsAppSDKSelfContained=true /p:PublishReadyToRun=true
43+
run: dotnet publish -r win-$env:Platform /p:PublishReadyToRun=true
4444
env:
4545
Appx_Bundle: Never
4646
Appx_Package_Build_Mode: SideloadOnly

0 commit comments

Comments
 (0)