pass version to dotnet on all steps
All checks were successful
build nuget workflow for TelegramBotBase project / Build-TelegramBotBase (x64, linux) (push) Successful in 37s
All checks were successful
build nuget workflow for TelegramBotBase project / Build-TelegramBotBase (x64, linux) (push) Successful in 37s
This commit is contained in:
parent
a81d299010
commit
0931147f5a
@ -29,13 +29,13 @@ jobs:
|
|||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore $APP_PROJECT_NAME
|
run: dotnet restore $APP_PROJECT_NAME /p:Version=$PACKAGE_VERSION
|
||||||
|
|
||||||
- name: Build app
|
- 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
|
- 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
|
- name: disconnect old source
|
||||||
run: dotnet nuget remove source gitea
|
run: dotnet nuget remove source gitea
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user