Skip to content

attempt context

attempt context #4

name: "Workflow Commands"
on:
push:
branches: [ main ]
jobs:
my-job:
runs-on: ubuntu-latest
steps:
- name: "group logging"
run: |
echo "::group::My Group Message"
echo "Msg1"
echo "Msg2"
echo "::endgroup::"
- name: "step 1"
run: |
echo "MY_VAL=hello" >> "$GITHUB_ENV"
- name: "step 2"
run: |
echo "$MY_VAL"