mirror of
https://gitee.com/handyorg/HandyControl.git
synced 2024-12-02 03:47:48 +08:00
Update build.yml
This commit is contained in:
parent
74552140a8
commit
7d1a0eb00c
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -8,8 +8,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
powershell .\build.ps1
|
.\build.ps1
|
||||||
|
tools\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
|
||||||
|
Loading…
Reference in New Issue
Block a user