From a376ac247aceab24e7e8d3f030f228ca5c796d61 Mon Sep 17 00:00:00 2001 From: Christian Helle Date: Mon, 28 Aug 2023 22:47:29 +0200 Subject: [PATCH] WIP --- .github/workflows/pre-integration-template.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pre-integration-template.yml b/.github/workflows/pre-integration-template.yml index cd55227..5014857 100644 --- a/.github/workflows/pre-integration-template.yml +++ b/.github/workflows/pre-integration-template.yml @@ -19,9 +19,6 @@ jobs: with: fetch-depth: 0 - - name: ⚛️ Sets environment variables - branch-name - uses: nelonoel/branch-name@v1.0.1 - - name: ⚛️ Sets environment variables - Nerdbank.GitVersioning uses: dotnet/nbgv@master with: @@ -34,9 +31,9 @@ jobs: shell: pwsh run: | if ('${{ inputs.constants }}' -ne 'PREVIEW') { - dotnet pack -c Release -o packages -p:RepositoryBranch=$BRANCH_NAME -p:PackageVersion=${NBGV_NuGetPackageVersion} + dotnet pack -c Release -o packages -p:PackageVersion=${NBGV_NuGetPackageVersion} } else { - dotnet pack -c Release -o packages -p:RepositoryBranch=$BRANCH_NAME -p:PackageVersion="${NBGV_Version}-preview" -p:DefineConstants=${{ inputs.constants }} + dotnet pack -c Release -o packages -p:PackageVersion=${NBGV_Version}-preview -p:DefineConstants=${{ inputs.constants }} } - name: 🗳️ Upload build artifacts