message: Add cache to github workflows (for dependencies)
diff: @@ -394,8 +394,16 @@ jobs:
  - uses: actions/checkout@v2
  with:
  submodules: recursive
  + - uses: actions/cache@v2
  + id: cache
  + with:
  + path: ./build/ios/third_party/install
  + key: ${{ github.job }}-${{ hashFiles('./third_party/**') }}
  + - name: disable superbuild on cache hit
  + if: steps.cache.outputs.cache-hit == 'true'
  + run: echo "superbuild=-DSUPERBUILD=OFF" >> $GITHUB_ENV && echo "cmake_prefix_path=-DCMAKE_PREFIX_PATH=$(pwd)/build/ios/third_party/install" >> $GITHUB_ENV
  - name: configure
  - run: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$(pwd)/tools/ios.toolchain.cmake -DPLATFORM=OS -DDEPLOYMENT_TARGET=11.0 -DBUILD_MAVSDK_SERVER=ON -DBUILD_SHARED_LIBS=OFF -DWERROR=OFF -j 2 -Bbuild/ios -H.
  + run: cmake $superbuild $cmake_prefix_path -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$(pwd)/tools/ios.toolchain.cmake -DPLATFORM=OS -DDEPLOYMENT_TARGET=11.0 -DBUILD_MAVSDK_SERVER=ON -DBUILD_SHARED_LIBS=OFF -DWERROR=OFF -j 2 -Bbuild/ios -H.
  - name: build
  run: cmake --build build/ios -j 2
  - uses: actions/upload-artifact@v2
  