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

[QUESTION] Is it possible to use custom Flutter SDK? #308

Closed
thaidmfinnick opened this issue May 10, 2024 · 4 comments · Fixed by #334
Closed

[QUESTION] Is it possible to use custom Flutter SDK? #308

thaidmfinnick opened this issue May 10, 2024 · 4 comments · Fixed by #334

Comments

@thaidmfinnick
Copy link

Hi, I'm building Flutter App with Github Actions (of course cannot live without flutter-action), my problem is I have been customized some files in Flutter Engine, Flutter SDK to develop my app so I cannot use pure Flutter SDK as flutter-action provided when building.

Can I do some workaround to use custom flutter sdk in flutter-action?

Thank you!

@thaidmfinnick thaidmfinnick changed the title [QUESTION] Is it possible to use custom flutter sdk [QUESTION] Is it possible to use custom Flutter SDK? May 10, 2024
@bartekpacia
Copy link
Collaborator

Hey – it's not possible currently, but this sounds like a valid feature request to me. An example is actions/setup-java Action and how it allows for installation of different JDK distributions.

Please feel free to write down how'd you like this feature to look like, and make a PR.

@thaidmfinnick
Copy link
Author

thaidmfinnick commented May 12, 2024

Thank you for your quick response.

I want to add my fork repo of Flutter SDK into GHA, and if possible with hash commit, and demo in my idea like that:

steps:
  - name: Clone repository
    uses: actions/checkout@v4
  - name: Set up Flutter
    uses: subosito/flutter-action@v2
    with:
      git: https://github.com/thaidmfinnick/flutter 
      ref: 34f9afg
  - run: flutter --version

Actually I haven't understood how Flutter SDK, Engine was built and joined together on GHA so I'm not sure it's possible.
Look forward to seeing your response!

@bartekpacia
Copy link
Collaborator

related #331

@bartekpacia
Copy link
Collaborator

Closed by #334

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

Successfully merging a pull request may close this issue.

2 participants