From f329737a463e6fd2fe7e9cbf55df1f7b45db5cb4 Mon Sep 17 00:00:00 2001 From: Littlegnal <8847263+littleGnAl@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:38:22 +0800 Subject: [PATCH] [ci][pubdev-publishing.yml] Allow force publishing to pub.dev (#110) --- .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 }}