Skip to content

Migrate CircleCI basic config to the GHA #3

Migrate CircleCI basic config to the GHA

Migrate CircleCI basic config to the GHA #3

name: Deploy to CocoaPods
on:
push:
tags:
- '*'
jobs:
deploy to cocoapods:

Check failure on line 9 in .github/workflows/deploy_cocoapods.yml

View workflow run for this annotation

GitHub Actions / Deploy to CocoaPods

Invalid workflow file

The workflow is not valid. .github/workflows/deploy_cocoapods.yml (Line: 9, Col: 3): The identifier 'deploy to cocoapods' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Configure .netrc
run: |
echo "machine api.mapbox.com login mapbox password ${{ secrets.SDK_REGISTRY_TOKEN }}" >> ~/.netrc
chmod 0600 ~/.netrc
- name: Deploy to Cocoapods
run: pod trunk push
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}