Skip to content
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
24 changes: 24 additions & 0 deletions .github/workflows/publish-cocoapods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish CocoaPods
on:
release:
types: [published]

jobs:
publish:
name: Publish CocoaPods
runs-on: macOS-11
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Setup CocoaPods
uses: maxim-lobanov/setup-cocoapods@v1
with:
version: latest

- name: Publish CocoaPod
run: |
pod trunk push Half.podspec
2 changes: 1 addition & 1 deletion Half.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "Half"
s.version = "1.2.2"
s.version = "1.2.3"
s.summary = "Swift Half-Precision Floating Point"
s.description = <<-DESC
A lightweight framework containing a Swift implementation for a half-precision floating point type for iOS, macOS, tvOS, and watchOS.
Expand Down