Skip to content

Commit 7f7277c

Browse files
committed
Add clear build option
1 parent bdac0dc commit 7f7277c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release_sdk_parallel.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
sdk-version:
1111
description: 'The new version for the sdk library.'
1212
required: true
13+
clean-build:
14+
description: 'Perform a clean build'
15+
default: 'false'
1316

1417
jobs:
1518
build_targets:
@@ -83,6 +86,10 @@ jobs:
8386
continue-on-error: true
8487
run: cargo install cargo-ndk
8588

89+
- name: Clean build if needed
90+
if: ${{ inputs.clean-build == 'true' }}
91+
run: cargo clean
92+
8693
- name: Set up Python 3
8794
uses: actions/setup-python@v5
8895
with:

0 commit comments

Comments
 (0)