Skip to content

[Test Setup Shell Environment Variable] Fix Shell Script Running #2

[Test Setup Shell Environment Variable] Fix Shell Script Running

[Test Setup Shell Environment Variable] Fix Shell Script Running #2

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