fix(ci): install jq before flutter-action in CI and release workflows
Some checks failed
CI / ci (push) Failing after 3m33s
Some checks failed
CI / ci (push) Failing after 3m33s
subosito/flutter-action@v2 requires jq to parse action inputs. The ci job in both workflows was missing the install step. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -43,6 +43,27 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
sdkmanager "platform-tools" "platforms;android-36" "build-tools;36.0.0"
|
sdkmanager "platform-tools" "platforms;android-36" "build-tools;36.0.0"
|
||||||
|
|
||||||
|
- name: Install jq
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
SUDO=""
|
||||||
|
if command -v sudo >/dev/null 2>&1; then
|
||||||
|
SUDO="sudo"
|
||||||
|
fi
|
||||||
|
if command -v apt-get >/dev/null 2>&1; then
|
||||||
|
$SUDO apt-get update
|
||||||
|
$SUDO apt-get install -y jq
|
||||||
|
elif command -v apk >/dev/null 2>&1; then
|
||||||
|
$SUDO apk add --no-cache jq
|
||||||
|
elif command -v dnf >/dev/null 2>&1; then
|
||||||
|
$SUDO dnf install -y jq
|
||||||
|
elif command -v yum >/dev/null 2>&1; then
|
||||||
|
$SUDO yum install -y jq
|
||||||
|
else
|
||||||
|
echo "Could not find a supported package manager to install jq"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Setup Flutter
|
- name: Setup Flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -41,6 +41,27 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
sdkmanager "platform-tools" "platforms;android-36" "build-tools;36.0.0"
|
sdkmanager "platform-tools" "platforms;android-36" "build-tools;36.0.0"
|
||||||
|
|
||||||
|
- name: Install jq
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
SUDO=""
|
||||||
|
if command -v sudo >/dev/null 2>&1; then
|
||||||
|
SUDO="sudo"
|
||||||
|
fi
|
||||||
|
if command -v apt-get >/dev/null 2>&1; then
|
||||||
|
$SUDO apt-get update
|
||||||
|
$SUDO apt-get install -y jq
|
||||||
|
elif command -v apk >/dev/null 2>&1; then
|
||||||
|
$SUDO apk add --no-cache jq
|
||||||
|
elif command -v dnf >/dev/null 2>&1; then
|
||||||
|
$SUDO dnf install -y jq
|
||||||
|
elif command -v yum >/dev/null 2>&1; then
|
||||||
|
$SUDO yum install -y jq
|
||||||
|
else
|
||||||
|
echo "Could not find a supported package manager to install jq"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Setup Flutter
|
- name: Setup Flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
All notable changes to HouseHoldKeeper are documented in this file.
|
All notable changes to HouseHoldKeeper are documented in this file.
|
||||||
|
|
||||||
|
## [1.1.5] - Unreleased
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Install jq before Flutter setup in CI and release workflows (required by subosito/flutter-action)
|
||||||
|
|
||||||
## [1.1.4] - 2026-03-17
|
## [1.1.4] - 2026-03-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
Reference in New Issue
Block a user