Skip to content

Commit 6f153ce

Browse files
committed
.NET Release Workflow
1 parent dd05c4b commit 6f153ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v2
1818
with:
19-
dotnet-version: '8.0' # Specify your .NET version here
19+
dotnet-version: '8.0'
2020

2121
- name: Restore dependencies
2222
run: dotnet restore
@@ -28,7 +28,7 @@ jobs:
2828
run: dotnet test
2929

3030
- name: Publish the project
31-
run: dotnet publish --configuration Release --output ./publish
31+
run: dotnet publish --configuration Release --runtime win-x64 --framework net8.0 -p:Optimize=true --output ./publish
3232

3333
- name: Create Release
3434
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)