-
Notifications
You must be signed in to change notification settings - Fork 3
/
bitrise.yml
58 lines (58 loc) · 1.49 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
52
53
54
55
56
57
58
---
format_version: '8'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: xamarin
trigger_map:
- push_branch: master
workflow: deploy
- push_branch: "*"
workflow: build
- pull_request_source_branch: "*"
workflow: build
workflows:
build:
steps:
- git-clone@4.0.17: {}
- nuget-restore@1.0.7: {}
- script@1.1.5:
inputs:
- content: |
#!/usr/bin/env bash
msbuild /p:Configuration=$BITRISE_XAMARIN_CONFIGURATION;Version=$VERSION
- script@1.1.5:
inputs:
- content: |-
#!/usr/bin/env bash
VERSION=`cat version`
nuget pack Xamarin.MarkdownContentView.nuspec -Properties "Configuration=$BITRISE_XAMARIN_CONFIGURATION;Version=$VERSION"
- slack@3.1.3:
inputs:
- channel: "#open-source"
- text: ''
- emoji: ":ghost:"
- thumb_url: ''
- icon_url: ''
- webhook_url: "$SLACK_OSS_WEBHOOK"
deploy:
before_run:
- build
steps:
- script@1.1.5:
inputs:
- content: |
#!/usr/bin/env bash
nuget push *.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey $NUGET_API_KEY
app:
envs:
- opts:
is_expand: false
BITRISE_PROJECT_PATH: Xamarin.MarkdownContentView.sln
- opts:
is_expand: false
BITRISE_XAMARIN_CONFIGURATION: Release
- opts:
is_expand: false
BITRISE_XAMARIN_PLATFORM: Any CPU
meta:
bitrise.io:
machine_type: performance