Skip to content

Commit

Permalink
fix(dotnet): dotnet pack command without suffix failed
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbriere1 committed Nov 14, 2024
1 parent 75a21a4 commit 846b02e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ on:
required: false
type: string
description: "The project version suffix to use"
default: ""
code_coverage_threshold:
required: false
type: string
Expand Down Expand Up @@ -108,6 +107,14 @@ jobs:
path: code-coverage-results.md

- name: Create Package
if: !inputs.solution_version_suffix
run: >-
dotnet pack ${{ inputs.solution_name }}
--configuration ${{ inputs.solution_configuration }}
--output packages
- name: Create Package with Suffix
if: inputs.solution_version_suffix
run: >-
dotnet pack ${{ inputs.solution_name }}
--configuration ${{ inputs.solution_configuration }}
Expand Down

0 comments on commit 846b02e

Please sign in to comment.