Skip to content

feat(repo): add nightly builds sample app #2124

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

renefloor
Copy link
Contributor

@renefloor renefloor commented Feb 27, 2025

Submit a pull request

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)

Description of the pull request

This adds build workflows for the chat sample app

Successful runs:
web: https://github.com/GetStream/stream-chat-flutter/actions/runs/13651943709/job/38162305784
android: https://github.com/GetStream/stream-chat-flutter/actions/runs/13654740181/job/38171061572
iOS: https://github.com/GetStream/stream-chat-flutter/actions/runs/13671508879/job/38222556571

@renefloor renefloor force-pushed the feature/add-publishing-sample branch 12 times, most recently from ff1ef09 to 9feaf65 Compare March 4, 2025 12:56
@renefloor renefloor force-pushed the feature/add-publishing-sample branch 15 times, most recently from b67a939 to 492f5a4 Compare March 4, 2025 16:06
@renefloor renefloor force-pushed the feature/add-publishing-sample branch 2 times, most recently from 70214a2 to b7a8745 Compare March 5, 2025 08:13
@renefloor renefloor force-pushed the feature/add-publishing-sample branch from b7a8745 to 5b187fe Compare March 5, 2025 08:21
@renefloor renefloor force-pushed the feature/add-publishing-sample branch from 0aa18d0 to 956d7e2 Compare March 5, 2025 09:02
@renefloor renefloor changed the title Feature/add publishing sample feat(samples): add nightly builds sample Mar 5, 2025
@xsahil03x xsahil03x changed the title feat(samples): add nightly builds sample feat(samples): add nightly builds sample app Mar 5, 2025
@renefloor renefloor changed the title feat(samples): add nightly builds sample app feat(repo): add nightly builds sample app Mar 5, 2025
build_and_deploy_ios:
runs-on: macos-latest
timeout-minutes: 40
if: ${{ github.event_name == 'push' || inputs.build_ios == true }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove this push check now?

with:
channel: ${{ env.FLUTTER_CHANNEL }}
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also add the cache-key in order for the cache to work perfectly.
https://github.com/GetStream/stream-chat-flutter/blob/master/.github/workflows/stream_flutter_workflow.yml#L41

working-directory: sample_app

env:
FLUTTER_VERSION: "3.29.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, we can use "3.x" here instead, It will automatically use the latest version in the 3.x range.

Suggested change
FLUTTER_VERSION: "3.29.0"
FLUTTER_VERSION: "3.x"

@github-actions github-actions bot added the Stale label Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants