Skip to content

Commit

Permalink
Specify exact shell to be used
Browse files Browse the repository at this point in the history
  • Loading branch information
2JS committed Feb 7, 2024
1 parent 796cf1b commit 3fe1e9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: bash ./ensure-zsh.sh
- run: bash ./ensure-zsh.bash
env:
SETUP_ROOT: ${{ github.workspace }}
- run: zsh ./setup.sh
- run: zsh ./setup.zsh
env:
SETUP_ROOT: ${{ github.workspace }}
2 changes: 1 addition & 1 deletion ensure-zsh.sh → ensure-zsh.bash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

export SETUP_ROOT=${SETUP_ROOT:-$HOME/.setup}
if command -v zsh >/dev/null 2>&1; then
Expand Down
2 changes: 1 addition & 1 deletion setup.sh → setup.zsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/zsh
if [ -z "$SETUP_ROOT" ]; then
export SETUP_ROOT=$HOME/.setup
fi
Expand Down

0 comments on commit 3fe1e9b

Please sign in to comment.