subosito / flutter-action

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

Error setting up flutter 3.13.3 #246

Closed ardera closed 8 months ago

ardera commented 9 months ago

First of all, thanks for this nice gh action!

Somehow I get an error when this runs for 3.13.3 though (never failed in the past):

2023-09-07T19:00:51.2745412Z ##[group]Run subosito/flutter-action@v2
2023-09-07T19:00:51.2745762Z with:
2023-09-07T19:00:51.2745986Z   channel: stable
2023-09-07T19:00:51.2746249Z   flutter-version: 3.13.3
2023-09-07T19:00:51.2746764Z   cache: true
2023-09-07T19:00:51.2747063Z   cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:
2023-09-07T19:00:51.2747474Z   cache-path: /opt/hostedtoolcache/flutter/:channel:-:version:-:arch:
2023-09-07T19:00:51.2747836Z   architecture: X64
2023-09-07T19:00:51.2748066Z ##[endgroup]
2023-09-07T19:00:51.3232733Z ##[group]Run $GITHUB_ACTION_PATH/setup.sh -p -c '/opt/hostedtoolcache/flutter/:channel:-:version:-:arch:' -k 'flutter-:os:-:channel:-:version:-:arch:-:hash:' -n '3.13.3' -a 'X64' stable
2023-09-07T19:00:51.3233540Z $GITHUB_ACTION_PATH/setup.sh -p -c '/opt/hostedtoolcache/flutter/:channel:-:version:-:arch:' -k 'flutter-:os:-:channel:-:version:-:arch:-:hash:' -n '3.13.3' -a 'X64' stable
2023-09-07T19:00:51.3331318Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2023-09-07T19:00:51.3331738Z ##[endgroup]
2023-09-07T19:00:52.5111982Z ##[group]Run actions/cache@v3
2023-09-07T19:00:52.5112294Z with:
2023-09-07T19:00:52.5112593Z   path: /opt/hostedtoolcache/flutter/stable-3.13.3-x64
2023-09-07T19:00:52.5113250Z   key: flutter-linux-stable-3.13.3-x64-2524052335ec76bb03e04ede244b071f1b86d190-829cd850d30e460fee790ddfbdc19f61a83d9970036d0c3d5b31c4f390226a7d
2023-09-07T19:00:52.5114319Z   restore-keys: flutter-linux-stable-3.13.3-x64-2524052335ec76bb03e04ede244b071f1b86d190-829cd850d30e460fee790ddfbdc19f61a83d9970036d0c3d5b31c4f390226a7d
flutter-linux-stable-3.13.3-x64-2524052335ec76bb03e04ede244b071f1b86d190

2023-09-07T19:00:52.5115106Z   enableCrossOsArchive: false
2023-09-07T19:00:52.5115388Z   fail-on-cache-miss: false
2023-09-07T19:00:52.5115823Z   lookup-only: false
2023-09-07T19:00:52.5116063Z ##[endgroup]
2023-09-07T19:00:52.9191998Z Cache not found for input keys: flutter-linux-stable-3.13.3-x64-2524052335ec76bb03e04ede244b071f1b86d190-829cd850d30e460fee790ddfbdc19f61a83d9970036d0c3d5b31c4f390226a7d, flutter-linux-stable-3.13.3-x64-2524052335ec76bb03e04ede244b071f1b86d190-829cd850d30e460fee790ddfbdc19f61a83d9970036d0c3d5b31c4f390226a7d, flutter-linux-stable-3.13.3-x64-2524052335ec76bb03e04ede244b071f1b86d190
2023-09-07T19:00:52.9279966Z ##[group]Run $GITHUB_ACTION_PATH/setup.sh -c '/opt/hostedtoolcache/flutter/stable-3.13.3-x64' -n '3.13.3' -a 'x64' stable
2023-09-07T19:00:52.9280530Z $GITHUB_ACTION_PATH/setup.sh -c '/opt/hostedtoolcache/flutter/stable-3.13.3-x64' -n '3.13.3' -a 'x64' stable
2023-09-07T19:00:52.9346112Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2023-09-07T19:00:52.9346412Z ##[endgroup]
2023-09-07T19:01:04.1213406Z /home/runner/work/_actions/subosito/flutter-action/v2/setup.sh: line 46: /home/runner/work/_temp/: Is a directory
2023-09-07T19:01:04.1247398Z tar: /home/runner/work/_temp/: Cannot read: Is a directory
2023-09-07T19:01:04.1248220Z tar: At beginning of tape, quitting now
2023-09-07T19:01:04.1248789Z tar: Error is not recoverable: exiting now
2023-09-07T19:01:04.1263379Z rm: cannot remove '/home/runner/work/_temp/': Is a directory
dung-le2-ts commented 8 months ago

I got the same issue with 3.13.8 version

subosito commented 8 months ago

Closing this, due to a temporary issue. Feel free to reopen if the issue persists.