From 7752620bef7db25a42bc4e666bbd7664aa0b239f Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 14 Jun 2021 00:53:59 +0100 Subject: [PATCH] deploy src/**/*.nupkg --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aef8835..836d161 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ before_script: - echo "Before script section" - echo "For example you might run an update here or install a build dependency" - echo "Or perhaps you might print out some debugging details" - - dotnet restore --ignore-failed-sources + - dotnet restore after_script: - echo "After script section" @@ -45,7 +45,7 @@ deploy: script: - dotnet pack -c Release - dotnet nuget add source "$CI_SERVER_URL/api/v4/projects/$CI_PROJECT_ID/packages/nuget/index.json" --name gitlab --username gitlab-ci-token --password $CI_JOB_TOKEN --store-password-in-clear-text - - dotnet nuget push "bin/Release/*.nupkg" --source gitlab + - dotnet nuget push "src/*/bin/Release/*.nupkg" --source gitlab only: - master