-
Notifications
You must be signed in to change notification settings - Fork 14
/
bitrise.yml
51 lines (50 loc) · 1.37 KB
/
bitrise.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
format_version: "11"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
app:
envs:
- BITRISE_PROJECT_PATH: Vitamin.xcworkspace
opts:
is_expand: false
- BITRISE_SCHEME: Vitamin Showcase
opts:
is_expand: false
- BITRISE_EXPORT_METHOD: development
opts:
is_expand: false
trigger_map:
- push_branch: main
workflow: primary
- pull_request_source_branch: '*'
workflow: primary
- tag: '*'
workflow: deploy
workflows:
deploy:
description: This workflow will build the project and deploy to CocoaPods.
steps:
- git-clone@8: {}
- cache-pull@2: {}
- xcode-build-for-simulator@0: {}
- script@1:
title: Send version to CocoaPods
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# push to CocoaPods specs
pod trunk push VitaminCore.podspec --allow-warnings --synchronous
pod trunk push Vitamin.podspec --allow-warnings --synchronous
pod trunk push VitaminSwiftUI.podspec --allow-warnings --synchronous
- cache-push@2: {}
primary:
description: This workflow will build the project.
steps:
- git-clone@8: {}
- cache-pull@2: {}
- xcode-build-for-simulator@0: {}
- cache-push@2: {}
meta:
bitrise.io:
stack: osx-xcode-14.2.x-ventura