Cleanup #13
This file contains hidden or 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: Test print variable | |
| on: [push] | |
| env: | |
| DAY_OF_WEEK: Monday | |
| jobs: | |
| hello: | |
| env: | |
| Greeting: Hello | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Echo variable | |
| run: echo "${{vars.TEST_VAR}}" | |
| - name: "Say Hello Mona it's Monday" | |
| if: ${{ env.DAY_OF_WEEK == 'Monday' }} | |
| run: echo "$Greeting $First_Name. Today is $DAY_OF_WEEK! other syntax ${{ env.DAY_OF_WEEK }} " | |
| env: | |
| First_Name: Mona | |
| - name: Print secret | |
| run: echo ${{ secrets.SECRET_VAR }} | |