Skip to content

Commit 895e093

Browse files
committed
Finxing windows build
1 parent 02a443d commit 895e093

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ jobs:
7777
run: dotnet restore
7878

7979
- name: Build
80-
run: dotnet build --configuration Release --no-restore --runtime win-x64
80+
run: dotnet build --configuration Release --no-restore
8181

8282
- name: Publish
83-
run: dotnet publish --configuration Release --output ./publish --runtime win-x64
83+
run: dotnet publish --configuration Release --output ./publish
8484

8585
- name: Build and push static web package
8686
run: |

WindowsServiceDotNETCore.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5+
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
56
<Nullable>enable</Nullable>
67
<ImplicitUsings>enable</ImplicitUsings>
78
<UserSecretsId>dotnet-WindowsServiceDotNETCore-081a241b-3c72-4faa-abbc-e558ba56cbbd</UserSecretsId>

0 commit comments

Comments
 (0)