diff --git a/.gitea/workflows/TelegramBotFramework.nuget.yaml b/.gitea/workflows/TelegramBotFramework.nuget.yaml index f7c9771..09bc27c 100644 --- a/.gitea/workflows/TelegramBotFramework.nuget.yaml +++ b/.gitea/workflows/TelegramBotFramework.nuget.yaml @@ -32,10 +32,10 @@ jobs: run: dotnet restore $APP_PROJECT_NAME - name: Build app - run: dotnet build -c Release --no-restore $APP_PROJECT_NAME + run: dotnet build -c Release --version-suffix $PACKAGE_VERSION --no-restore $APP_PROJECT_NAME - name: Pack app - run: dotnet pack --version-suffix $PACKAGE_VERSION --no-build $APP_PROJECT_NAME + run: dotnet pack --no-build $APP_PROJECT_NAME - name: disconnect old source run: dotnet nuget remove source gitea @@ -45,4 +45,4 @@ jobs: run: dotnet nuget add source --name gitea https://git.kosyakmakc.ru/api/packages/kosyakmakc/nuget/index.json - name: Upload nuget package - run: dotnet nuget push --source gitea --api-key ${{ secrets.kosyakmakc_nuget_publish }} ${{ gitea.workspace }}/${{ env.APP_PROJECT_NAME }}/bin/Release/$APP_PROJECT_NAME.1.0.0-$PACKAGE_VERSION.nupkg + run: dotnet nuget push --source gitea --api-key ${{ secrets.kosyakmakc_nuget_publish }} ${{ gitea.workspace }}/${{ env.APP_PROJECT_NAME }}/bin/Release/$APP_PROJECT_NAME.$PACKAGE_VERSION.nupkg