-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
Support for Relay #682
Comments
Thanks for reaching out. |
Excellent, happy to review ✌️ |
Added in 52eb86c. It is in develop right now, will be in the next release. This should work on Linux and macOS once released. - name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1' # 7.4 to 8.2
extensions: relay # or specific version like relay-0.4.6
env:
RELAY_KEY: ${{ secrets.RELAY_KEY }}
RELAY_ENVIRONMENT: development
RELAY_EVICTION_POLICY: lru
RELAY_MAX_MEMORY: 256M |
Amazing, looks good ❤️🔥 |
Can we generate random key by default, in case no key was specified? Because if no key is specified, extension produces warnings. And I don't have an idea for a one-liner in RELAY_KEY to do this 🤔 |
The random uuid replacement in the extension binary will be done by default setup-php/src/scripts/extensions/relay.sh Lines 93 to 98 in dd01156
|
Ahh all good then, very nice |
Released in 2.24.0 |
Describe the feature
I'm one of the makers of Relay and we're heavy users
shivammathur/setup-php
ourselves and would love to see Relay support.Underlying issue
Installing Relay is a little verbose on GitHub Actions, since it requires the
msgpack
andigbinary
extensions and some extra steps.Describe alternatives
Additional context
https://relay.so/docs/1.x/installation#github-actions
Are you willing to submit a PR?
Yes, but we don't know where to start. Happy to become sponsors as well 👍
The text was updated successfully, but these errors were encountered: