-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: local sandbox rpcUrl change in CI (#10)
* chore: try jq change to rpcUrl * chore: install jq * chore: test jq without cat * chore: try single quotes with jq * chore: remove debugging steps * chore: added rpcUrl change to readme
- Loading branch information
Showing
4 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,15 +18,15 @@ A comma separated list of plugins to install. | |
|
||
### `sandbox_name` | ||
|
||
The name of the Flextesa sandbox to use. A sandbox will only be created if this input is specified. | ||
The name of the Flextesa sandbox to use. A sandbox will only be created if this input is specified. When running the sandbox, the action will automatically change the value of `rpcUrl` for the sandbox in `config.json`. This is to enable origination to the local sandbox in CI. | ||
|
||
### `compile_command` | ||
|
||
The compile command used to compile the contracts. | ||
|
||
### `originate` | ||
|
||
When set to true, contracts will be originated to the environment defined with the `environment` variable (leave empty for default). This option makes use of the `taquito` plugin so please make sure to install it. | ||
When set to true, contracts will be originated to the environment defined with the `environment` variable (leave empty for default). This option makes use of the `taquito` plugin so please make sure to install it. | ||
|
||
### `tests` | ||
|
||
|
@@ -41,7 +41,7 @@ This input is used to select the configured environment for `taqueria` to origin | |
### Single step action | ||
```yaml | ||
- name: taqueria tasks | ||
uses: ecadlabs/[email protected].0 | ||
uses: ecadlabs/[email protected].1 | ||
with: | ||
plugins: '@taqueria/plugin-ligo, @taqueria/plugin-flextesa, @taqueria/plugin-taquito' | ||
compile_command: compile | ||
|
@@ -53,25 +53,25 @@ This input is used to select the configured environment for `taqueria` to origin | |
### Multiple step action | ||
```yaml | ||
- name: compile contracts | ||
uses: ecadlabs/[email protected].0 | ||
uses: ecadlabs/[email protected].1 | ||
with: | ||
project_directory: 'example-projects/hello-tacos' | ||
compile_command: 'compile' | ||
|
||
- name: start local sandbox | ||
uses: ecadlabs/[email protected].0 | ||
uses: ecadlabs/[email protected].1 | ||
with: | ||
project_directory: 'example-projects/hello-tacos' | ||
sandbox_name: 'local' | ||
|
||
- name: originate contracts | ||
uses: ecadlabs/[email protected].0 | ||
uses: ecadlabs/[email protected].1 | ||
with: | ||
project_directory: 'example-projects/hello-tacos' | ||
originate: 'true' | ||
|
||
- name: originate contracts | ||
uses: ecadlabs/[email protected].0 | ||
uses: ecadlabs/[email protected].1 | ||
with: | ||
project_directory: 'example-projects/hello-tacos' | ||
tests: 'true' | ||
|
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
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