Last active
July 1, 2021 19:28
-
-
Save GuillaumeFalourd/8c59d10e7dd8fe395f725ab60595507c to your computer and use it in GitHub Desktop.
Execution of a Ritchie formula directly through command lines
This file contains 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
name: Ritchie Formula Demo | |
on: [workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Golang Version | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.16.0' | |
- name: Ritchie Installation & Initialization | |
run: | | |
curl -fsSL https://commons-repo.ritchiecli.io/install.sh | bash | |
rit init --sendMetrics="no" --addCommons="no" --runType="local" | |
- name: Ritchie Formula Hello World (Golang) Execution | |
run: | | |
rit add repo --provider="Github" --name="demo" --repoUrl="https://github.com/ZupIT/ritchie-formulas-demo" --priority=1 | |
rit demo hello-world --rit_input_text="Dennis" --rit_input_boolean=true --rit_input_list="everything" --rit_input_password="Ritchie" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment