Skip to content

Commit 07e2a1c

Browse files
actions: add mock "mail" command to the "$PATH"
* We were adding the `mail` command to `$PATH` in the `~/.bashrc` file, however, this file returns early when not run in interactive mode (which is always in a CI environment). * Moved this into the `~/.bash_profile` file.
1 parent f467a07 commit 07e2a1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test_functional.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ jobs:
148148
# Sets up mocked mail command & any other custom executables
149149
# run: echo "${{ github.workspace }}/.github/bin" >> $GITHUB_PATH
150150
run: |
151-
echo "export PATH=\"${{ github.workspace }}/.github/bin:$PATH\"" >> ~/.bashrc
152-
cat ~/.bashrc
151+
echo "export PATH=\"${{ github.workspace }}/.github/bin:$PATH\"" >> ~/.bash_profile
152+
cat ~/.bash_profile
153153
154154
- name: Install
155155
run: |

0 commit comments

Comments
 (0)