You can use the set-output command in your workflow to set the same value: - name: Set selected color run: echo '::set-output name=SELECTED_COLOR::green' id: random-color-generator - name: Get color run: echo "The selected color is $. For example, instead of using code to set an output, as below: core. Use the :: syntax to run the workflow commands within your YAML file these commands are then sent to the runner over stdout. ![]() The actions/toolkit includes a number of functions that can be executed as workflow commands. Using workflow commands to access toolkit functions ![]() Warning: If you are using Command Prompt, omit double quote characters ( ") when using workflow commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |