-
Notifications
You must be signed in to change notification settings - Fork 101
/
slidy.yaml
53 lines (43 loc) · 1.31 KB
/
slidy.yaml
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
slidy: '1'
variables:
customMessage: "Complete" # Gets ${Local.var.customMessage}
scripts:
# Simple command (slidy run doctor)
doctor: flutter doctor
build: dart run build_runner build
# Descritive command (slidy run clean)
clean:
name: "Clean"
description: 'minha descricao'
run: flutter clean
# Steped command (slidy run reload)
cleanup:
description: "cleanup project"
steps:
- name: "Clean"
run: flutter clean
- name: "GetPackages"
description: "Get packages"
run: flutter pub get
- name: "PodClean"
description: "Execute pod clean"
shell: bash # default: command. options (command|bash|sh|zsh|pwsh)
condition: "${System.operatingSystem} == macos"
working-directory: ios
run: |-
rm Podfile.lock
pod deintegrate
pod update
pod install
condition:
description: "test conditions"
steps:
- name: "Windows"
run: echo "I am in Windows"
condition: "'${System.operatingSystem}' == 'windows'"
- name: "Mac"
run: echo "I am in Mac"
condition: "${System.operatingSystem} == macos"
- name: "Linux"
run: echo "I am in Mac"
condition: "'${System.operatingSystem}' == 'linux'"