Skip to content

Commit e717aad

Browse files
committed
fix release
1 parent d2b1be6 commit e717aad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110

111111
publish-nuget:
112112
name: Publish as dotnet tool to NuGet
113-
runs-on: ubuntu-latest
113+
runs-on: windows-latest
114114
needs: publish-release
115115
steps:
116116
- name: Checkout
@@ -120,10 +120,10 @@ jobs:
120120
with:
121121
dotnet-version: 10.0.x
122122
- name: Build
123-
run: dotnet build ./src/HydraScript/HydraScript.csproj -c Release -v n \
124-
/p:Version=${{ needs.publish-release.outputs.determined_version }} \
123+
run: dotnet build ./src/HydraScript/HydraScript.csproj -c Release -v n `
124+
/p:Version=${{ needs.publish-release.outputs.determined_version }} `
125125
/p:PublishAot=false /p:PublishSingleFile=false
126126
- name: Publish
127-
run: dotnet nuget push ./src/HydraScript/bin/Release/*.nupkg \
128-
--api-key ${{ secrets.NUGET_API_KEY }} \
127+
run: dotnet nuget push ./src/HydraScript/bin/Release/*.nupkg `
128+
--api-key ${{ secrets.NUGET_API_KEY }} `
129129
--source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)