Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aangelinsf opened this issue Feb 5, 2023 · 2 comments
Open

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

aangelinsf opened this issue Feb 5, 2023 · 2 comments

Comments

@aangelinsf
Copy link

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

@aangelinsf
Copy link
Author

aangelinsf commented Feb 6, 2023

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
Copy link
Author

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant