implement text context github action #3
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: "Workflow Commands" | |
| on: ['push'] | |
| jobs: | |
| test-job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "group logging" | |
| run: | | |
| echo "::group::My Group Message" | |
| echo "Msg 1" | |
| echo "Msg 2" | |
| echo "::endgroup::" | |
| - name: "step 1" | |
| run: | | |
| echo "MY_VALUE=hello" >> $GITHUB_ENV | |
| - name: "step 2" | |
| run: | | |
| echo $MY_VALUE | |