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: set environment varibles examples | |
on: [push] | |
jobs: | |
setup-and-use-env: | |
runs-on: ubuntu-latest | |
steps: | |
- name: set a dynamic environment varibles | |
run: | | |
echo "DYNAMIC_VAR= HELLO FROM GITHUB ACTIONS" >> $GITHUB_ENV | |
- name: use the environment | |
run: | | |
echo "The value of DYNAMIC_VAR is : $DYNAMIC_VAR" |