Merge branch 'master' of https://github.com/HandyOrg/HandyControl
This commit is contained in:
commit
265c17f014
1 file changed
+10
-1
@@ -9,7 +9,16 @@ jobs:
|
|||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: setup nuget.exe
|
||||||
|
uses: NuGet/setup-nuget@v1.0.5
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
powershell .\build.ps1
|
.\build.ps1
|
||||||
|
nuget pack build-for-myget.nuspec
|
||||||
|
$nupkgName = @(gci *.nupkg)[0].Name
|
||||||
|
$mygetSourcePath = "https://www.myget.org/F/handycontrol"
|
||||||
|
nuget setApiKey ${{ secrets.MYGETTOKEN }} -Source $mygetSourcePath
|
||||||
|
nuget push $nupkgName -Source $mygetSourcePath
|
||||||
Reference in new issue
Block a user