Last active
August 14, 2022 14:41
-
-
Save jacobaraujo7/b1d6591dac3f52ddb65be4ec02260ca5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
slidy: '1' | |
variables: | |
var1: myVariable # Gets ${Local.var1} | |
var2: ${System.env.USER} # Gets system env variables ${Local.var2} | |
scripts: | |
# Simple command (slidy run doctor) | |
doctor: flutter doctor | |
# Descritive command (slidy run clean) | |
clean: | |
name: "Clean" | |
run: flutter clean | |
# Complete command (slidy run complete) | |
complete: | |
name: "Complete command" | |
description: "my great desc." | |
shell: bash # default: command. options (command|bash|sh|zsh|powershell) | |
run: |- | |
echo "Bash command" | |
echo "${Local.var1}" | |
echo "${Local.var2}" | |
echo "${System.operatingSystem}" | |
# Steped command (slidy run reload) | |
reload: | |
description: "clenup project" | |
steps: | |
- name: "Clean" | |
run: flutter clean | |
- name: "Get packages" | |
run: flutter pub get | |
- name: "Commands" | |
description: "exec bash commands" | |
shell: bash | |
run: |- | |
echo "Bash command" | |
echo "${Local.var1}" | |
echo "${Local.var2}" | |
echo "${System.operatingSystem}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment