Update bump-up-version.yml

This commit is contained in:
NaBian committed 2025-05-19 23:40:21 +08:00
1 parent 9f29b888c7
commit cc526ae01c
1 file changed
+2 -2
+2 -2
View File
@@ -32,7 +32,7 @@ jobs:
dotnet new tool-manifest
dotnet tool install cake.tool --version 4.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
uses: ad-m/github-push-action@master
@@ -42,7 +42,7 @@ jobs:
tags: true
- 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
uses: softprops/action-gh-release@v2