Skip to content

🔖 [Release] 1.0.31 #14

🔖 [Release] 1.0.31

🔖 [Release] 1.0.31 #14

Workflow file for this run

name: Cocoapods Publish
on:
push:
tags:
- '*'
# Publish action triggers on new tags
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1.190.0
with:
ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions`
- run: gem install cocoapods
- run: pod spec lint
- run: |
echo 'Writing .netrc file'
cat <<EOF > ~/.netrc
machine trunk.cocoapods.org
login $COCOAPODS_USER
password $COCOAPODS_PASSWORD
EOF
chmod 600 ~/.netrc
name: 'Setup trunk auth'
env:
COCOAPODS_USER: ${{ vars.COCOAPODS_USER }}
COCOAPODS_PASSWORD: ${{ secrets.COCOAPODS_PASSWORD }}
- run: pod trunk push