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