From ac42b30c655de9de136a9ff7474da6a785969879 Mon Sep 17 00:00:00 2001 From: Old Autumn Date: Fri, 7 Jun 2024 16:05:15 +0800 Subject: [PATCH 1/4] Update action.yaml to make sure yq is ready --- action.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/action.yaml b/action.yaml index 73774f4..ae72b8b 100644 --- a/action.yaml +++ b/action.yaml @@ -73,6 +73,13 @@ outputs: runs: using: composite steps: + + # This is a cross-platform composite action that needs yq to be available. + # GitHub decided to not make it available: 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 + - name: Make setup script executable run: chmod +x "$GITHUB_ACTION_PATH/setup.sh" shell: bash From 824056490ac46691a8de7e34d5477f4a544f7219 Mon Sep 17 00:00:00 2001 From: Old Autumn Date: Fri, 7 Jun 2024 16:08:19 +0800 Subject: [PATCH 2/4] Update action.yaml --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index ae72b8b..dddd270 100644 --- a/action.yaml +++ b/action.yaml @@ -75,7 +75,7 @@ runs: steps: # This is a cross-platform composite action that needs yq to be available. - # GitHub decided to not make it available: https://github.com/actions/runner-images/issues/7443#issuecomment-1514597691 + # 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 From cd06aa39a22f1ecc7eebbee89163607ea3ba35a2 Mon Sep 17 00:00:00 2001 From: Old Autumn Date: Fri, 7 Jun 2024 16:11:07 +0800 Subject: [PATCH 3/4] Update action.yaml --- action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yaml b/action.yaml index dddd270..af501cb 100644 --- a/action.yaml +++ b/action.yaml @@ -79,6 +79,7 @@ runs: - 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" From 9050d43be81bf0a5cd8ca51ec50fa42853a8a0e6 Mon Sep 17 00:00:00 2001 From: Old Autumn Date: Sat, 29 Jun 2024 16:41:16 +0800 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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