subosito / flutter-action

Flutter environment for use in GitHub Actions. It works on Linux, Windows, and macOS.
MIT License
2.17k stars 193 forks source link

Error: unable to find release for 2.2.2 #105

Closed qwezey closed 3 years ago

qwezey commented 3 years ago

Not able to use the latest version of flutter (2.2.2) in my workflow

image

image

qwezey commented 3 years ago

flutter release is hosted under https://storage.googleapis.com/flutter_infra_release/releases whereas storageUrl in src/release.ts is https://storage.googleapis.com/flutter_infra/releases

seems to be related to #99

kuhnroyal commented 3 years ago

It should work with the latest version of the action since it was migrated to the new bucket: https://storage.googleapis.com/flutter_infra_release/releases/releases_macos.json contains 2.2.2

kuhnroyal commented 3 years ago

Nvm, it will not work with 1.5.2, try tag 1.5.1

kuhnroyal commented 3 years ago

@subosito reverted the change but the old bucket was not updated for 2.2.2 I asked how this will be handled in the future in https://github.com/flutter/flutter/issues/83746

jiangxiaoqiang commented 3 years ago

so, what should I do to fix this problem, I am face the same issue. 222

cuong0993 commented 3 years ago

I used v1.5.1 and it works.

jiangxiaoqiang commented 3 years ago

I used v1.5.1 and it works.

  • name: Set up flutter uses: subosito/flutter-action@v1.5.1 with: flutter-version: '${{ env.flutter_version }}'

it works!

kuhnroyal commented 3 years ago

@subosito The flutter_infra_release is the new bucket going forward.

qwezey commented 3 years ago

@subosito old artifacts prior to the migration will however remain in flutter_infra

kuhnroyal commented 3 years ago

old artifacts prior to the migration will however remain in flutter_infra

That is correct, but they are also available in the new bucket. So it is safe to switch to the new bucket permanently.

qwezey commented 3 years ago

old artifacts prior to the migration will however remain in flutter_infra

That is correct, but they are also available in the new bucket. So it is safe to switch to the new bucket permanently.

that's perfect!

qwezey commented 3 years ago

confirmed, the issue is now resolved image