Skip to content

Conversation

ArielDemarco
Copy link

@ArielDemarco ArielDemarco commented Aug 7, 2025

Overview

This PR is related to the discussion in this other PR. It introduces a GitHub Actions workflow that enables pushing the DataCompression.podspec to CocoaPods.

Details

The workflow will run in two scenarios:

  • Whenever a new tag following semver (excluding pre-releases) is pushed (e.g., x.y.z)
  • Manually via the Actions tab in the GitHub UI

It uses the macos-latest runner (as of now, this corresponds to macOS 14).

The workflow exposes a dryRun mode. When enabled, it will lint the podspec using pod lib lint instead of pushing it to trunk via pod trunk push.

Note

When triggered by a tag push, the workflow always runs with dryRun: false, meaning it will push to CocoaPods trunk.

Important

To function properly, a secret named COCOAPODS_TRUNK_TOKEN must be added to the repository’s GitHub Actions secrets.

Test

I’ve tested this action locally in my fork:

@naftaly
Copy link

naftaly commented Aug 7, 2025

@mw99 Do you think this PR might help you run the process without having to find the actual machines, I think its a great option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants