diff --git a/README.md b/README.md index b49781f..863430a 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ steps: > [!WARNING] > > Using `flutter-version-file` requires [`yq`](https://github.com/mikefarah/yq), -> which is not pre-installed in `windows` images. Install it yourself. +> which is installed in `windows` images by this action.. ### Use latest release for particular channel diff --git a/action.yaml b/action.yaml index 73774f4..af501cb 100644 --- a/action.yaml +++ b/action.yaml @@ -73,6 +73,14 @@ outputs: runs: using: composite steps: + + # This is a cross-platform composite action that needs yq to be available. + # ref: https://github.com/actions/runner-images/issues/7443#issuecomment-1514597691 + - name: Make yq tool available on Windows runners + if: runner.os == 'Windows' + run: choco install yq + shell: bash + - name: Make setup script executable run: chmod +x "$GITHUB_ACTION_PATH/setup.sh" shell: bash