Skip to content

Commit

Permalink
Switch back to local dir .bash_profile
Browse files Browse the repository at this point in the history
The original issue arised when we specified a different working-directory.
  • Loading branch information
kzu committed Jul 11, 2024
1 parent b118ad4 commit fe37f7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ jobs:

- name: ⚙ GNU grep
if: matrix.os == 'macOS-latest'
working-directory: samples/dotnet
run: |
brew install grep
echo "/usr/local/opt/grep/libexec/gnubin:$(echo $PATH)" > $GITHUB_PATH
echo 'export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"' >> .bash_profile
- name: 🧪 test
uses: ./.github/workflows/test
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ runs:
LC_ALL: en_US.utf8
working-directory: ${{ inputs.working-directory }}
run: |
[ -f .bash_profile ] && source .bash_profile
grep -V
counter=0
exitcode=0
Expand Down

0 comments on commit fe37f7a

Please sign in to comment.