Skip to content

Commit

Permalink
Ensure we use a ~ bash profile
Browse files Browse the repository at this point in the history
And render the used grep version for troubleshooting
  • Loading branch information
kzu committed Jul 11, 2024
1 parent 0a1eec1 commit b118ad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: matrix.os == 'macOS-latest'
run: |
brew install grep
echo 'export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"' >> .bash_profile
echo "/usr/local/opt/grep/libexec/gnubin:$(echo $PATH)" > $GITHUB_PATH
- name: 🧪 test
uses: ./.github/workflows/test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +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
reset="\e[0m"
Expand Down

0 comments on commit b118ad4

Please sign in to comment.