Skip to content

Commit

Permalink
Merge pull request #564 from Wei18/feat/github-actions/deploy-cocoapods
Browse files Browse the repository at this point in the history
Add GitHub actions to deploy CocoaPods
  • Loading branch information
Wei18 authored Jan 30, 2024
2 parents 04f1502 + dfcccc5 commit 19c8755
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
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

0 comments on commit 19c8755

Please sign in to comment.