Updated on 2023-12-06 GMT+08:00

Using YAML to Configure a Mono Build

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
version: 2.0 # The value must be 2.0.
steps:
  BUILD:
    - mono:
        inputs:
            command: |
                nuget sources Disable -Name 'nuget.org' 
                nuget sources add -Name 'xxcloud' -Source 'https://repo.xxcloud.com/repository/nuget/v3/index.json' 
                nuget restore
                msbuild /p:OutputPath=../buildResult/Release/bin
                zip -rq ./archive.zip ./buildResult/Release/bin/*

Parameter

Type

Description

Mandatory

Default Value

command

string

Execute commands.

Yes

None