flutter-action: Action broke and doesn't work at all
I use this action in many projects of mine and it works fine. But there’s this one project at work where it just broke and remains in this sad state.
That’s how I use the action:
- name: Install Flutter
uses: subosito/flutter-action@v2.5.0
with:
channel: ${{ matrix.channel }}
flutter-version: ${{ matrix.version }}
Nothing fancy. Newest version doesn’t work as well. And below are the logs from this action’s step:
Run subosito/flutter-action@v2.5.0
with:
flutter-version: [2](https://github.com/leancodepl/REDACTED/runs/7732114460?check_suite_focus=true#step:3:2).10.5
cache-key: flutter-:os:-:arch:-:channel:-:version:-:hash:
cache-path: /opt/hostedtoolcache/flutter
architecture: X6[4](https://github.com/leancodepl/REDACTED/runs/7732114460?check_suite_focus=true#step:3:4)
Run $GITHUB_ACTION_PATH/setup.sh -c "/opt/hostedtoolcache/flutter" 2.10.[5](https://github.com/leancodepl/REDACTED/runs/7732114460?check_suite_focus=true#step:3:5) X[6](https://github.com/leancodepl/REDACTED/runs/7732114460?check_suite_focus=true#step:3:6)4
$GITHUB_ACTION_PATH/setup.sh -c "/opt/hostedtoolcache/flutter" 2.10.5 X64
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 19[7](https://github.com/leancodepl/REDACTED/runs/7732114460?check_suite_focus=true#step:3:8) 100 1[9](https://github.com/leancodepl/REDACTED/runs/7732114460?check_suite_focus=true#step:3:10)7 0 0 4020 0 --:--:-- --:--:-- --:--:-- 4020
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
2.10.5:X64:x64|null:null:x64
I remember that it was working fine, then I enabled cache using cache: true argument. Something broke then, so I removed that cache: true and was hoping it would start working again, but it didn’t.
I’ve also cleared all the caches:
$ gh api /repos/leancodepl/REDACTED/actions/caches
{
"total_count": 0,
"actions_caches": []
}
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 15 (9 by maintainers)
@bartekpacia I have pushed the changes, please retry using the main branch and let me know the result on your end.
@bartekpacia Just published
v2.6.2and updated `v2; you can use that one instead of main.