Skip to content

Commit d76db77

Browse files
feat: add input to dotnet lib release workflow to optionally build
1 parent 3ad36cc commit d76db77

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/dotnet-lib-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ on:
3535
required: true
3636
description: The version of Deno to use. The deno platform is used in all of the composite actions used in this workflow.
3737
type: string
38+
build-project:
39+
required: false
40+
description: If true, builds the project to ensure it compiles before performing the release.
41+
default: true
42+
type: boolean
3843
enable-deno-cache:
3944
required: false
4045
description: If true, enables caching of the Deno modules.
@@ -232,6 +237,7 @@ jobs:
232237
233238
build_project:
234239
name: Build Main Project
240+
if: inputs.build-project == true
235241
runs-on: "${{ inputs.runs-on }}"
236242
steps:
237243
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)