Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelle committed Aug 28, 2023
1 parent b58f2c4 commit a376ac2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/pre-integration-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit a376ac2

Please sign in to comment.