From 5fd24205ce10dc4ec9f5987ea4dc8f2ed05b2efb Mon Sep 17 00:00:00 2001 From: littleGnAl Date: Mon, 14 Oct 2024 16:36:53 +0800 Subject: [PATCH] [ci][pubdev-publishing.yml] Allow force publishing to pub.dev --- .github/workflows/pubdev-publishing.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pubdev-publishing.yml b/.github/workflows/pubdev-publishing.yml index 0c99436..e48f9fb 100644 --- a/.github/workflows/pubdev-publishing.yml +++ b/.github/workflows/pubdev-publishing.yml @@ -8,6 +8,11 @@ on: type: string required: true default: 'main' + force_publish: + description: Whether to force the publishing + type: boolean + required: true + default: false jobs: publishing: @@ -36,3 +41,4 @@ jobs: with: accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }} refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }} + force: ${{ inputs.force_publish }}