Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub actions to deploy CocoaPods #564

Merged
merged 5 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/DeployCocoaPods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy Cocoapods

on:
push:
paths:
- 'ActionSheetPicker-3.0.podspec'

jobs:

deploy:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- run: gem install cocoapods
- run: |
set -eo pipefail
pod lib lint --allow-warnings
pod trunk push --allow-warnings
2 changes: 1 addition & 1 deletion ActionSheetPicker-3.0.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |spec|
spec.version = '2.7.2'
spec.summary = 'Easily present an ActionSheet with a PickerView, allowing the user to select from a number of immutable options.'
spec.description = <<-DESC
Better version of ActionSheetPicker with support iOS7 and other improvements:
Better version of ActionSheetPicker with support iOS9 and other improvements:
- Spawn pickers with convenience function - delegate or reference not required. Just provide a target/action callback.
- Add buttons to UIToolbar for quick selection (see ActionSheetDatePicker below)
- Delegate protocol available for more control
Expand Down