File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4343 dotnet build --configuration Release
4444 dotnet pack --configuration Release --output nupkg -p:Version='${{ steps.gitversion.outputs.SemVer }}'
4545 - name : Upload NuGet package to GitHub
46- uses : actions/upload-artifact@v2
46+ uses : actions/upload-artifact@v4
4747 with :
4848 name : nupkg
4949 path : Sources/TelegramBot/nupkg
@@ -56,16 +56,16 @@ jobs:
5656 steps :
5757 # Push NuGet package to GitHub packages
5858 - name : Download nuget package artifact
59- uses : actions/download-artifact@v1 .0.0
59+ uses : actions/download-artifact@v4 .0.0
6060 with :
6161 name : nupkg
6262 - name : Prep packages
6363 run : dotnet nuget add source --username bvdcode --password ${{ secrets.DEPLOY_GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/bvdcode/index.json"
6464 - name : Push package to GitHub packages
6565 if : needs.build.outputs.CommitsSinceVersionSource > 0 # Only release if there has been a commit/version change
6666 run : |
67- dotnet nuget push nupkg/ *.nupkg --skip-duplicate --api-key ${{ secrets.DEPLOY_GITHUB_TOKEN }} --source "github"
68- dotnet nuget push nupkg/ *.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json
67+ dotnet nuget push *.nupkg --skip-duplicate --api-key ${{ secrets.DEPLOY_GITHUB_TOKEN }} --source "github"
68+ dotnet nuget push *.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json
6969
7070 # Create release
7171 - name : Create Release
You can’t perform that action at this time.
0 commit comments