-
Notifications
You must be signed in to change notification settings - Fork 47
34 lines (31 loc) · 1.09 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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