Skip to content

Commit

Permalink
Add workflows that enable to create release automatically in CocoaPods
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii authored Jan 14, 2021
1 parent b79a2ea commit 8cdfe32
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/Checks.yml
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
19 changes: 19 additions & 0 deletions .github/workflows/Release.yml
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

0 comments on commit 8cdfe32

Please sign in to comment.