[Test Setup Shell Environment Variable] Fix Shell Script Running #2
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: Test Setup Shell Environment Variable | |
on: | |
push: | |
paths: | |
- '.github/workflows/setup-shell-env.yml' | |
workflow_dispatch: | |
jobs: | |
run: | |
runs-on: macos-15 | |
steps: | |
- name: Setup EXPORT Script | |
run: | | |
echo 'export TEST="Hello, GitHub!"' > set-env.sh | |
- name: Run the EXPORT Script | |
run: | | |
/bin/zsh set-env.sh | |
- name: Check Environment Variable | |
run: | | |
echo $TEST |