Skip to content

Commit

Permalink
if we're in a windows environment, how we install terminus differs
Browse files Browse the repository at this point in the history
add the current directory to the PATH variable so we can run terminus from where we downloaded it
  • Loading branch information
jazzsequence committed Sep 22, 2023
1 parent b22039b commit 570a1a7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/sage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ jobs:
echo "Terminus Latest version is $latest_version"
curl -L "https://github.com/pantheon-systems/terminus/releases/download/$latest_version/terminus.phar" -o terminus
chmod +x terminus
sudo mv terminus /usr/local/bin/
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
echo "Adding currnt directory to PATH for Windows..."
echo "./" >> $GITHUB_PATH
else
sudo mv terminus /usr/local/bin/
fi
- name: Install Composer Dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Log into Terminus & Create Multidev
Expand Down

0 comments on commit 570a1a7

Please sign in to comment.