Skip to content

Commit

Permalink
Improve Github Actions - 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Saporetti Junior committed Sep 18, 2023
1 parent b233f83 commit e5cc8a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/install-activate-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,4 @@ jobs:
- name: Install HomeSetup with Prefix
run: |
./install.bash -r -p "${{ github.workspace }}"
source "${HOME}"/.bashrc
__hhs tests
if [ source "${HOME}"/.bashrc ]; then __hhs tests; else echo "Unable to activate dotfiles" && exit 1; fi
2 changes: 1 addition & 1 deletion dotfiles/bash/hhsrc.bash
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if [[ -s "${HHS_PREFIX_FILE}" ]]; then
prefix="$(grep . "${HHS_PREFIX_FILE}")"
[[ -n "${prefix}" && -d "${prefix}" ]] && export HHS_PREFIX="${prefix}"
else
export HHS_PREFIX=${HHS_PREFIX:-}
unset HHS_PREFIX
fi

export HHS_HOME="${HHS_PREFIX:-${HOME}/HomeSetup}"
Expand Down

0 comments on commit e5cc8a3

Please sign in to comment.