From 0931147f5a97a0028055f645019a7a7726ae90fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=A7=D0=BE=D0=B2?= =?UTF-8?q?=D0=BD=D1=8E=D0=BA?= Date: Thu, 5 Dec 2024 17:44:24 +0500 Subject: [PATCH] pass version to dotnet on all steps --- .gitea/workflows/TelegramBotFramework.nuget.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/TelegramBotFramework.nuget.yaml b/.gitea/workflows/TelegramBotFramework.nuget.yaml index 09bc27c..1c0f420 100644 --- a/.gitea/workflows/TelegramBotFramework.nuget.yaml +++ b/.gitea/workflows/TelegramBotFramework.nuget.yaml @@ -29,13 +29,13 @@ jobs: dotnet-version: '8.0.x' - name: Restore dependencies - run: dotnet restore $APP_PROJECT_NAME + run: dotnet restore $APP_PROJECT_NAME /p:Version=$PACKAGE_VERSION - name: Build app - run: dotnet build -c Release --version-suffix $PACKAGE_VERSION --no-restore $APP_PROJECT_NAME + run: dotnet build -c Release --version-suffix $PACKAGE_VERSION --no-restore $APP_PROJECT_NAME /p:Version=$PACKAGE_VERSION - name: Pack app - run: dotnet pack --no-build $APP_PROJECT_NAME + run: dotnet pack --no-build $APP_PROJECT_NAME /p:Version=$PACKAGE_VERSION - name: disconnect old source run: dotnet nuget remove source gitea