Skip to content

Instantly share code, notes, and snippets.

@M97Chahboun
Last active October 16, 2022 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save M97Chahboun/2ce6d317ef25f46e8b55b6ebb98280df to your computer and use it in GitHub Desktop.
Save M97Chahboun/2ce6d317ef25f46e8b55b6ebb98280df to your computer and use it in GitHub Desktop.
- name: Set color
id: random-color-generator
run: echo "SELECTED_COLOR=green" >> $GITHUB_OUTPUT
- name: Get color
run: echo "The selected color is ${{ steps.random-color-generator.outputs.SELECTED_COLOR }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment