-
Notifications
You must be signed in to change notification settings - Fork 6
48 lines (37 loc) · 1004 Bytes
/
release.yml
File metadata and controls
48 lines (37 loc) · 1004 Bytes
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
35
36
37
38
39
40
41
42
43
44
45
46
name: Release
on:
workflow_dispatch: {}
env:
XCODE_VERSION: 16.4
NODE_VERSION: '24'
permissions:
contents: write
packages: write
jobs:
release:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: |
npm i
- name: Install CocoaPods
run: |
gem install cocoapods --no-document
- name: Set Xcode version
run: |
sudo xcode-select -s /Applications/Xcode_${{ env.XCODE_VERSION }}.app/Contents/Developer
- name: Run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: |
npx semantic-release