jdleonard/jdleonard-net

cgr won't install with php 8.x

aangelinsf opened this issue · 2 comments

The version currently used won't work with php 8.x; I have to remove CGR until it's compatible.

Work seems to have started on upgrading it here:
consolidation/cgr#43

Found another way that installs the standalone version.

TERMINUS_RELEASE=$(curl --silent "https://api.github.com/repos/pantheon-systems/terminus/releases/latest" | perl -nle'print $& while m#"tag_name": "\K[^"]*#g')

curl -L https://github.com/pantheon-systems/terminus/releases/download/$TERMINUS_RELEASE/terminus.phar --output /usr/local/bin/terminus

chmod +x /usr/local/bin/terminus

terminus auth:login --machine-token=${{ secrets.PANTHEON_MACHINE_TOKEN }}

Even better, as of 2 months ago there is an official Terminus action:

https://github.com/pantheon-systems/terminus-github-actions