-
Notifications
You must be signed in to change notification settings - Fork 6
50 lines (41 loc) · 1.19 KB
/
publishing-ios.yml
File metadata and controls
50 lines (41 loc) · 1.19 KB
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
47
name: iOS Publishing
on:
workflow_dispatch:
push:
tags: [ "*" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: raftario/setup-rust-action@v1
with:
rust-channel: nightly
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '13.2.1'
- name: which swift
run: which swift
- name: Run tests
run: cargo test --package fp-mobile-uniffi uniffi_foreign_language_testcase_test_swift
- name: Run build
run: make build_ios
- name: release ios
uses: EndBug/add-and-commit@v9.1.0
with:
message: 'Bump new version'
author_name: release robot
author_email: robot@featureprobe.com
cwd: './sdk-ios/client-sdk-ios/'
push: ' https://${{ secrets.IOS_RELEASE_TOKEN }}@github.com/FeatureProbe/client-sdk-ios.git HEAD:main'
- name: update ios submodule
uses: EndBug/add-and-commit@v9.1.0
with:
message: 'update ios submodule'
author_name: release robot
author_email: robot@featureprobe.com
push: 'origin main'