mirror of
https://github.com/subosito/flutter-action.git
synced 2024-08-16 10:19:50 +02:00
adjust filter by arch
This commit is contained in:
parent
88cab4064b
commit
1508160852
1 changed files with 1 additions and 1 deletions
2
setup.sh
2
setup.sh
|
@ -19,7 +19,7 @@ filter_by_channel() {
|
|||
}
|
||||
|
||||
filter_by_arch() {
|
||||
jq --arg dart_sdk_arch "$1" '[.[] | select(.dart_sdk_arch? | (., "x64") | index($dart_sdk_arch))]'
|
||||
jq --arg arch "$1" '[.[] | select(.dart_sdk_arch == $arch or ($arch == "x64" and (has("dart_sdk_arch") | not)))]'
|
||||
}
|
||||
|
||||
filter_by_version() {
|
||||
|
|
Loading…
Reference in a new issue