Update bump-up-version.yml
This commit is contained in:
1 parent
9f29b888c7
commit
cc526ae01c
1 file changed
+2
-2
@@ -32,7 +32,7 @@ jobs:
|
|||||||
dotnet new tool-manifest
|
dotnet new tool-manifest
|
||||||
dotnet tool install cake.tool --version 4.0.0
|
dotnet tool install cake.tool --version 4.0.0
|
||||||
dotnet tool install minver-cli --version 3.0.0
|
dotnet tool install minver-cli --version 3.0.0
|
||||||
dotnet cake --username="${{ github.actor }}" --email="836904362@qq.com" --pre-release=${{ inputs.pre_release }}
|
dotnet cake --target publish --username="${{ github.actor }}" --email="836904362@qq.com" --pre-release=${{ inputs.pre_release }}
|
||||||
|
|
||||||
- name: Push git changes
|
- name: Push git changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
tags: true
|
tags: true
|
||||||
|
|
||||||
- name: Push to nuget
|
- name: Push to nuget
|
||||||
run: dotnet nuget push ./build/outputs/nuget/HandyControl.*nupkg -k ${{ secrets.NUGETTOKEN }}
|
run: dotnet nuget push ./build/outputs/nuget/HandyControl.*nupkg -k ${{ secrets.NUGETTOKEN }} -s https://api.nuget.org/v3/index.json
|
||||||
|
|
||||||
- name: Create github release
|
- name: Create github release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
|
|||||||
Reference in new issue
Block a user