From 9a47be5bc581297cff40359958703d4c0c7a1e7c Mon Sep 17 00:00:00 2001 From: Steven Zhang Date: Mon, 8 Jun 2026 10:06:15 -0400 Subject: [PATCH] ci: allow for prerelease to propagate from `full-release` action --- actions/full-release/action.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/actions/full-release/action.yml b/actions/full-release/action.yml index 550a2ba20e..58d9c4044b 100644 --- a/actions/full-release/action.yml +++ b/actions/full-release/action.yml @@ -7,6 +7,10 @@ inputs: aws_assume_role: description: 'The ARN of an AWS IAM role to assume. Used to auth with AWS to upload results to S3.' required: true + prerelease: + description: 'Is this a prerelease. If so, then the latest tag will not be updated in npm. Defaults to `false`.' + required: false + default: 'false' runs: using: composite @@ -32,8 +36,9 @@ runs: with: workspace_name: ${{ env.WORKSPACE_NAME }} workspace_path: ${{ inputs.workspace_path }} - prerelease: false + prerelease: ${{ inputs.prerelease }} dry_run: false - - uses: ./actions/publish-docs + - if: ${{ inputs.prerelease != 'true' }} + uses: ./actions/publish-docs with: workspace_path: ${{ inputs.workspace_path }}