diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 9f960e58..7b884e65 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -108,16 +108,14 @@ jobs: echo "PATH=$PATH:${{ env.my_local_cache_dir }}Android/Sdk/cmdline-tools/latest/bin:${{ env.my_local_cache_dir }}Android/Sdk/platform-tools:${{ env.my_local_cache_dir }}Android/Sdk/build-tools/30.0.3:${{ env.my_local_cache_dir }}Android/Sdk/build-tools/34.0.0" >> $GITHUB_ENV echo "ANDROID_HOME=${{ env.my_local_cache_dir }}Android/Sdk" >> $GITHUB_ENV - - id: flutter-action - uses: https://github.com/subosito/flutter-action@fd55f4c5af5b953cc57a2be44cb082c8f6635e8e + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Flutter + uses: https://github.com/subosito/flutter-action@v2 with: channel: ${{ env.flutter_channel }} flutter-version: ${{ env.flutter_version }} - cache: true - cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache - cache-path: "${{ env.my_local_cache_dir }}flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path - pub-cache-key: "flutter-pub:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache of dart pub get dependencies - pub-cache-path: "${{ env.my_local_cache_dir }}flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path # - name: Print flutter-action outputs # shell: bash