Skip to content

Commit b01f85b

Browse files
committed
feat: ios publishing github action
1 parent 5ba8d0b commit b01f85b

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: iOS Publishing
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
15+
runs-on: macos-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
submodules: recursive
21+
- uses: maxim-lobanov/setup-xcode@v1
22+
with:
23+
xcode-version: '13.2.1'
24+
- name: which swift
25+
run: which swift
26+
- name: Run tests
27+
run: cargo test --package fp-mobile-uniffi uniffi_foreign_language_testcase_test_swift
28+
- name: Run build
29+
run: make build_ios
30+
31+
- name: Add & Commit
32+
uses: EndBug/[email protected]
33+
with:
34+
message: 'Bump new version'
35+
add: '*'
36+
cwd: './sdk-ios/client-sdk-ios/'
37+
38+
39+

0 commit comments

Comments
 (0)