diff --git a/.github/workflows/bump-up-version.yml b/.github/workflows/bump-up-version.yml index ae75da5e..675a2ac0 100644 --- a/.github/workflows/bump-up-version.yml +++ b/.github/workflows/bump-up-version.yml @@ -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