Skip to content

Commit

Permalink
use latest terminus rather than figuring out a version
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Sep 25, 2023
1 parent a0c9034 commit c867c11
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/sage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,12 @@ jobs:
echo "multidev_name=$multidev_name" >> $GITHUB_ENV
- name: Get latest Terminus release
run: |
latest_version=$(curl --silent "https://api.github.com/repos/pantheon-systems/terminus/releases/latest" | jq -r .tag_name)
echo "Latest Terminus version: $latest_version"
if [[ "${{ matrix.os }}" == "macos-latest" ]]; then
echo "☕ Installing Terminus on macOS from Homebrew..."
brew install pantheon-systems/external/terminus
else
echo "💻 Installing Terminus from phar on Linux..."
curl -L "https://github.com/pantheon-systems/terminus/releases/download/$latest_version/terminus.phar" -o terminus
curl -L "https://github.com/pantheon-systems/terminus/releases/latest/download/terminus.phar" -o terminus
chmod +x terminus
sudo mv terminus /usr/local/bin/
fi
Expand Down

0 comments on commit c867c11

Please sign in to comment.