version setup on build step
Some checks failed
build nuget workflow for TelegramBotBase project / Build-TelegramBotBase (x64, linux) (push) Failing after 36s
Some checks failed
build nuget workflow for TelegramBotBase project / Build-TelegramBotBase (x64, linux) (push) Failing after 36s
This commit is contained in:
parent
956fbd47f0
commit
a81d299010
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user