From 9ee9b387158731d8694f805d0b652799924ea2d0 Mon Sep 17 00:00:00 2001 From: Christian Helle Date: Mon, 28 Aug 2023 22:37:42 +0200 Subject: [PATCH] Remove no-restore --- .github/workflows/pre-integration-template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-integration-template.yml b/.github/workflows/pre-integration-template.yml index fd12d0b..5aab268 100644 --- a/.github/workflows/pre-integration-template.yml +++ b/.github/workflows/pre-integration-template.yml @@ -34,9 +34,9 @@ jobs: shell: pwsh run: | if ('${{ inputs.constants }}' -ne 'PREVIEW') { - dotnet pack -c Release --no-restore -o packages -p:RepositoryBranch=$BRANCH_NAME -p:Version=${NBGV_Version} -p:PackageVersion=${NBGV_NuGetPackageVersion} + dotnet pack -c Release -o packages -p:RepositoryBranch=$BRANCH_NAME -p:Version=${NBGV_Version} -p:PackageVersion=${NBGV_NuGetPackageVersion} } else { - dotnet pack -c Release --no-restore -o packages -p:RepositoryBranch=$BRANCH_NAME -p:Version=${NBGV_Version} -p:PackageVersion=${NBGV_Version}-preview -p:DefineConstants=${{ inputs.constants }} + dotnet pack -c Release -o packages -p:RepositoryBranch=$BRANCH_NAME -p:Version=${NBGV_Version} -p:PackageVersion=${NBGV_Version}-preview -p:DefineConstants=${{ inputs.constants }} } - name: 🗳️ Upload build artifacts