Skip to content

Commit 3f2bb90

Browse files
committed
build: enable --dry-run flag control through workflow input
1 parent c001ec9 commit 3f2bb90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ jobs:
108108
return `--workspaces ${process.env.WORKSPACES.split(',').join(' ')}`;
109109
result-encoding: string
110110
- name: Release
111-
run: yarn release run snapshot --skip-prompts --skip-auth-check --use-auth-token --dry-run ${{ steps.prepare_workspaces.outputs.result }}
111+
run: yarn release run snapshot --skip-prompts --skip-auth-check --use-auth-token ${{ inputs.dry_run && '--dry-run'}} ${{ steps.prepare_workspaces.outputs.result }}

0 commit comments

Comments
 (0)