-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first pass implementation * added pod spec and release workflow
- Loading branch information
1 parent
0424e91
commit 4d6ed68
Showing
10 changed files
with
734 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
release: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '2.7' # Specify the Ruby version you are using | ||
|
||
- name: Install CocoaPods | ||
run: gem install cocoapods | ||
|
||
- name: Validate podspec | ||
run: pod lib lint --allow-warnings | ||
|
||
- name: Push to CocoaPods trunk | ||
env: | ||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | ||
run: pod trunk push RadarSDKMotion.podspec --allow-warnings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'RadarSDKMotion' | ||
s.version = '0.0.1' | ||
s.summary = 'Motion detection plugin for RadarSDK, the leading geofencing and location tracking platform' | ||
s.homepage = 'https://radar.com' | ||
s.author = { 'Radar Labs, Inc.' => 'support@radar.com' } | ||
s.platform = :ios | ||
s.source = { :git => 'https://github.com/radarlabs/radar-sdk-ios-motion.git', :tag => s.version.to_s } | ||
s.source_files = ["RadarSDKMotion/RadarSDKMotion/*.{h,m}"] | ||
s.module_name = 'RadarSDKMotion' | ||
s.ios.deployment_target = '12.0' | ||
s.frameworks = 'CoreMotion' | ||
s.requires_arc = true | ||
s.license = { :type => 'Apache-2.0' } | ||
end |
Oops, something went wrong.