diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 62ff760b..cf59cdc4 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -42,7 +42,7 @@ jobs: echo "ANDROID_HOME=${{ env.my_local_cache_dir }}Android/Sdk" >> $GITHUB_ENV - name: Install jq - run: apt-get install -y jq + run: apt-get install -y jq clang cmake ninja-build libgtk-3-dev - id: flutter-action uses: actions/flutter-action@v2 @@ -50,6 +50,10 @@ jobs: 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: "${{ runner.tool_cache }}/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: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path - name: Fix dir permissions run: |