Skip to content

Commit 10260a2

Browse files
committed
Unset BASH_ENV as early as possible
1 parent 7304fb7 commit 10260a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ runs:
2020
- id: install-eessi
2121
run: |
2222
echo "EESSI_SILENT=1" >> $GITHUB_ENV
23+
echo 'unset BASH_ENV' >> $HOME/env_config.export
2324
echo "source /cvmfs/software.eessi.io/versions/$EESSI_STACK_VERSION/init/bash" >> $HOME/env_config.export
2425
sudo apt install -y direnv
25-
echo 'unset BASH_ENV' >> $HOME/env_config.export
2626
echo 'eval "$(direnv export bash)"' >> $HOME/env_config.export
2727
mkdir -p $HOME/direnv/
2828
echo "[whitelist]" >> $HOME/direnv/direnv.toml

0 commit comments

Comments
 (0)