Skip to content

Commit

Permalink
[Test Setup Shell Environment Variable] Fix Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Cubik65536 authored Dec 29, 2024
1 parent b546b61 commit e8ec017
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/setup-shell-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ jobs:
run:
runs-on: macos-15
steps:
- name: Setup EXPORT Script
- name: Setup Test Script
run: |
echo 'export TEST="Hello, GitHub!"' > set-env.sh
echo $'echo \'TEST="Hello, GitHub!"\'' >> $GITHUB_ENV
echo $'echo \'TEST="Hello, GitHub!"\' >> $GITHUB_ENV' > set-env.sh
echo 'echo $TEST' > check-env.sh
- name: Run the EXPORT Script
run: |
/bin/zsh set-env.sh
- name: Check Environment Variable
- name: Check Environment Variable Through Run
run: |
echo $TEST
- name: Check Environment Variable Through Script
run: |
/bin/zsh check-env.sh

0 comments on commit e8ec017

Please sign in to comment.