Update build.yml

This commit is contained in:
NaBian authored and GitHub committed 2021-04-10 17:09:06 +08:00
1 parent e1fa1568af
commit 8b81d1a4aa
1 file changed
+3 -3
+3 -3
View File
@@ -17,8 +17,8 @@ jobs:
run: |
cd build
.\build.ps1
tools\nuget pack build build-for-myget.nuspec
nuget pack build build-for-myget.nuspec
$nupkgName = @(gci *.nupkg)[0].Name
$mygetSourcePath = "https://www.myget.org/F/handycontrol"
tools\nuget setApiKey ${{ secrets.MYGETTOKEN }} -Source $mygetSourcePath
tools\nuget push $nupkgName -Source $mygetSourcePath
nuget setApiKey ${{ secrets.MYGETTOKEN }} -Source $mygetSourcePath
nuget push $nupkgName -Source $mygetSourcePath