diff --git a/.github/workflows/flutter_package.yml b/.github/workflows/flutter_package.yml index 8c8a59a..225f332 100644 --- a/.github/workflows/flutter_package.yml +++ b/.github/workflows/flutter_package.yml @@ -47,6 +47,10 @@ on: required: false type: string default: "." + package_get_excludes: + required: false + type: string + default: "!*" jobs: build: @@ -72,7 +76,7 @@ jobs: run: | flutter pub global activate very_good_cli very_good --analytics false - very_good packages get --recursive + very_good packages get --recursive --ignore=${{inputs.package_get_excludes}} - name: ⚙️ Run Setup if: "${{inputs.setup != ''}}" diff --git a/README.md b/README.md index 2a36c6e..c51c938 100644 --- a/README.md +++ b/README.md @@ -215,6 +215,12 @@ The Flutter package workflow consists of the following steps: **Default** `"ubuntu-latest"` +#### `package_get_excludes` + +**Optional** List of paths to exclude from `packages get`. Supports `globs` to describe file patterns. + +**Default** `"!*"` + ### Example Usage ```yaml