VeryGoodOpenSource / very_good_flutter_plugin

A Very Good Flutter Federated Plugin created by the Very Good Ventures Team 🦄
https://brickhub.dev/bricks/very_good_flutter_plugin
MIT License
29 stars 3 forks source link

fix: generated workflows include wrong path for reusable workflow #87

Closed renancaraujo closed 1 year ago

renancaraujo commented 1 year ago

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
renancaraujo commented 1 year ago

The proposed solution breaks the generator

renancaraujo commented 1 year ago

Fix landed on #107