-
Notifications
You must be signed in to change notification settings - Fork 7
/
FAKE.yml
49 lines (42 loc) · 926 Bytes
/
FAKE.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
name: $(Rev:r)
# Set the pipeline variable `provider` to a provider E.G. `Azure` `AzureAD` `Aws` `Kubernetes`
# Create a secure file `Pulumi.FSharp.Extensions.vault.json`
# with the following content:
# {
# "values": [
# {
# "secret": false,
# "value": "<NuGet API key>",
# "name": "nuGetApiKey"
# }
# ]
# }
trigger:
branches:
include:
- master
paths:
include:
- Pulumi.FSharp.Myriad/*
pool: #GitHubRunners
vmImage: ubuntu-latest
steps:
- task: DotNetCoreCLI@2
displayName: Install FAKE
inputs:
command: custom
custom: tool
arguments: restore
- task: DownloadSecureFile@1
name: FakeVaultFile
displayName: Download FAKE Vault file
inputs:
secureFile: Pulumi.FSharp.Extensions.vault.json
- task: DotNetCoreCLI@2
displayName: Run FAKE
env:
FAKE_DETAILED_ERRORS: true
inputs:
command: custom
custom: fake
arguments: run