-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflows that enable to create release automatically in CocoaPods …
- Loading branch information
Showing
2 changed files
with
34 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,15 @@ | ||
name: Checks | ||
|
||
on: [push] | ||
|
||
jobs: | ||
lint: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: "12.3" | ||
- uses: actions/checkout@v2 | ||
- name: Lint Cocoapods | ||
run: pod lib lint --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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
pod-trunk-push: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: "12.3" | ||
- uses: actions/checkout@v2 | ||
- name: Deploy | ||
env: | ||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | ||
run: pod trunk push EasyPeasy.podspec --allow-warnings |