From c4a79fb2ec6d6dc09343586616086df1a87b2143 Mon Sep 17 00:00:00 2001 From: Yang Chao Date: Sat, 19 Oct 2024 23:51:33 +0800 Subject: [PATCH] fix pod publish error --- .github/workflows/cocoapods-deploy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cocoapods-deploy.yaml b/.github/workflows/cocoapods-deploy.yaml index dc6958a..6307c8b 100644 --- a/.github/workflows/cocoapods-deploy.yaml +++ b/.github/workflows/cocoapods-deploy.yaml @@ -4,6 +4,7 @@ on: push: tags: - '*' + workflow_dispatch: jobs: deploy: @@ -15,6 +16,7 @@ jobs: run: | gem install cocoapods pod setup + perl -i -pe 'if (/^(\s*)def validated\?/) { $_ .= "${1} return true\n" }' "$(gem which cocoapods/validator)" - name: Deploy to cocoapods uses: michaelhenry/deploy-to-cocoapods-github-action@1.0.10