Skip to content

Commit 4796df7

Browse files
committed
Add input to skip cairo language server to release build
1 parent c28fc3b commit 4796df7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/_build-release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
ref:
1111
required: false
1212
type: string
13+
include_cairols:
14+
description: "Include CairoLS in build"
15+
type: boolean
16+
default: true
1317
include_stwo:
1418
description: "Include Stwo in build"
1519
type: boolean
@@ -80,7 +84,9 @@ jobs:
8084
run: echo "CARGO=cross" >> $GITHUB_ENV
8185

8286
- name: Build
83-
run: ${{ env.CARGO }} build --release --locked --target ${{ matrix.target }} --workspace --exclude scarb-prove --exclude scarb-verify
87+
run: |
88+
${{ env.CARGO }} build --release --locked --target ${{ matrix.target }} --workspace --exclude scarb-prove \
89+
--exclude scarb-verify ${{ inputs.include_cairols && '--exclude scarb-cairo-language-server' || ''}}
8490
8591
- uses: dtolnay/rust-toolchain@master
8692
if: inputs.include_stwo

0 commit comments

Comments
 (0)