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

Make it possible to pipe setup.sh to shell and make it independent of GHA #295

Open
bartekpacia opened this issue Apr 1, 2024 · 0 comments

Comments

@bartekpacia
Copy link
Collaborator

bartekpacia commented Apr 1, 2024

The setup.sh is a core of this action, and it should be relatively easy to make it GitHub Actions-independent.

Then this script could be easily used e.g. when doing one-off Flutter install, or building a container image:

 curl -fsSL https://raw.githubusercontent.com/subosito/flutter-action/v2/setup.sh | bash -s -- -n '3.19.0' -a 'arm64' -c "$PWD" 'stable'

Relevant StackOverflow question: Passing parameters to bash when executing a script fetched by curl

Different takes on whether piping curl to shell is a good idea:

@bartekpacia bartekpacia changed the title Update README to showcase use of setup.sh Make it possible to pipe setup.sh to shell and make it independent of GHA Apr 1, 2024
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