From 3ba161fc99ce047f307926767c929fb2aa219651 Mon Sep 17 00:00:00 2001 From: Jayden Date: Thu, 30 May 2024 12:50:51 +0800 Subject: [PATCH] Create lint_podspec.yml --- .github/workflows/lint_podspec.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/lint_podspec.yml diff --git a/.github/workflows/lint_podspec.yml b/.github/workflows/lint_podspec.yml new file mode 100644 index 0000000..6295b76 --- /dev/null +++ b/.github/workflows/lint_podspec.yml @@ -0,0 +1,18 @@ +name: Lint Podspec + +on: + workflow_dispatch: + +jobs: + build: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - name: Lint Podspec + env: + # For info on how to obtain a new token see + # https://medium.com/swlh/automated-cocoapod-releases-with-github-actions-8526dd4535c7 + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} + run: | + pod trunk me + pod spec lint FireworkVideoUI.podspec