From a43afb73711dc9d2e999611a11ed60755e242bf6 Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Thu, 21 Nov 2024 16:07:52 +0000 Subject: [PATCH] Add setup-ruby action --- .github/workflows/publish-to-cocoapods.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-to-cocoapods.yml b/.github/workflows/publish-to-cocoapods.yml index 858113f..4895e54 100644 --- a/.github/workflows/publish-to-cocoapods.yml +++ b/.github/workflows/publish-to-cocoapods.yml @@ -4,6 +4,8 @@ on: push: tags: - "*" + branches: + - '*' jobs: publish: @@ -11,13 +13,15 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + - name: Install Cocoapods run: gem install cocoapods - - name: Deploy to Cocoapods - run: | - set -eo pipefail - pod lib lint --allow-warnings - pod trunk push --allow-warnings - env: - COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} + # - name: Deploy to Cocoapods + # run: | + # set -eo pipefail + # pod lib lint --allow-warnings + # pod trunk push --allow-warnings + # env: + # COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}