VeryGoodOpenSource / very_good_flutter_plugin

A Very Good Flutter Federated Plugin created by the Very Good Ventures Team 🦄

Home Page:https://brickhub.dev/bricks/very_good_flutter_plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix: generated workflows include wrong path for reusable workflow

renancaraujo opened this issue · comments

commented

Description

When generating a publishable plugin, the generated workflows for the platform implementations are wrong.

Steps To Reproduce

  1. Generate a publishable plugin
  2. Open a generated workflow under .github/workflows/generated_plugin_<platform>.yaml
  3. Panaworkflow will look like:
pana:
    uses: VeryGoodOpenSource/very_good_workflows/brick/__brick__/generated_plugin/.github/workflows/pana.yml@v1

Expected Behavior

When it should be:

pana:
    uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1
commented

The proposed solution breaks the generator

commented

Fix landed on #107