Skip to content

Commit 2cecf23

Browse files
authored
Update publish.yml
1 parent 3f62c21 commit 2cecf23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
dotnet-version: 9.0.x
3535

3636
# Create the NuGet package in the folder from the environment variable NuGetDirectory
37-
- run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }} /p:Version=${{ env.VERSION }} /p:PackageVersion=${{ env.VERSION }}
37+
- run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }} /p:Version=${{ env.VERSION }} /p:PackageVersion=${{ env.VERSION }} /p:EnableWindowsTargeting=true
3838

3939
# Publish the NuGet package as an artifact, so they can be used in the following jobs
4040
- name: uploadArtifacts

0 commit comments

Comments
 (0)