Skip to content

Implements setup-workspace GitHub Action + caching (WIP)#172

Draft
kerberjg wants to merge 13 commits into
v2.0from
feature/gh-action
Draft

Implements setup-workspace GitHub Action + caching (WIP)#172
kerberjg wants to merge 13 commits into
v2.0from
feature/gh-action

Conversation

@kerberjg
Copy link
Copy Markdown
Collaborator

@kerberjg kerberjg commented May 25, 2026

Status: WIP + blocked by #171


This feature allows workspace-automation to be run in any GHA environment using the setup-workspace action.
For example, when building an app/plugin using ivi-homescreen, you can just import this action into your CI as follows:

jobs:
  ...
  steps:
    - name: Create workspace
      uses: meta-flutter/workspace-automation/setup-workspace@v2.0
      
    - name: Run
      run: |
          source ./setup_env.sh
          ls -la $FLUTTER_WORKSPACE
          dart --version
          echo "Hello world from Flutter Workspace!"

Features include:

  • ~30-60% speedup vs raw run
  • Compatible with Ubuntu/Fedora (tested against our build matrix)
  • Caching (apt/dnf/dart-pub/pip/artifacts/git/flutter-sdk)
    • (optional!) whole workspace, including build files/configs via cache-whole
    • Auto/manual cache key

@kerberjg
Copy link
Copy Markdown
Collaborator Author

ubuntu-legacy build currently failing due to #171 and meta-flutter/llvm-toolchains#1 being incomplete

@kerberjg kerberjg force-pushed the feature/gh-action branch from 530cf75 to 16efc28 Compare May 25, 2026 20:46
@kerberjg kerberjg force-pushed the feature/gh-action branch from 16efc28 to 66b9c58 Compare May 27, 2026 15:21
@kerberjg kerberjg changed the title Implements setup-workspace GitHub Action (WIP) Implements setup-workspace GitHub Action + caching (WIP) May 27, 2026
@kerberjg kerberjg force-pushed the feature/gh-action branch 2 times, most recently from b8c3172 to bbd0c55 Compare May 27, 2026 15:49
@kerberjg kerberjg force-pushed the feature/gh-action branch from bbd0c55 to 96f53e8 Compare May 29, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant