Files
yoga/.github/workflows/publish-cocoapods-release.yml
Workflow config file is invalid. Please check your config file: yaml: line 6: did not find expected alphabetic or numeric character
Nick Gerleman 63c556a573 Add publish workflows for npmjs and CocoaPods
This adds workflows which run on tag, or manually, to publish packages to npmjs and cocoapods. These secrets should be set, but this is untested. We can fix manually and re-run though.
2023-06-27 12:08:40 -07:00

29 lines
589 B
YAML

name: Publish CocoaPods Release
on:
push:
tags:
- *
workflow_dispatch:
jobs:
publish:
name: Publish to CocoaPods trunk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup-apple
- name: Publish Yoga
run: pod trunk push Yoga.podspec
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
- name: Publish YogaKit
run: pod trunk push YogaKit.podspec
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}