Skip to content

Publish Release

Publish Release #22

Workflow file for this run

name: Publish Release
on: workflow_dispatch
jobs:
create_github_release:
runs-on: macos-12
environment: "Github Release"
steps:
- name: Checkout Repository
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Install gem dependencies
run: gem install bundler && bundle install
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
REPO_NAME: ${{ github.repository }}
GIT_SHA: ${{ github.sha }}
run: bundle exec fastlane ios github_release
cocoapods_release:
runs-on: macos-12
environment: "Cocoapods Release"
needs: [create_github_release]
steps:
- name: Checkout Repository
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Install gem dependencies
run: gem install bundler && bundle install
- name: Upload to Cocoapods
env:
REPO_NAME: ${{ github.repository }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: bundle exec fastlane ios cocapods_release