jdleonard / jdleonard-net

Codebase for future JDLeonard.net
https://www.jdleonard.net
7 stars 4 forks source link

cgr won't install with php 8.x #9

Open aangelinsf opened 1 year ago

aangelinsf commented 1 year ago

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: https://github.com/consolidation/cgr/pull/43

aangelinsf commented 1 year ago

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 }}

aangelinsf commented 1 year ago

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

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