diff --git a/.github/workflows/flatpak-build.yml b/.github/workflows/flatpak-build.yml index 39fc779949..c62a59fe77 100644 --- a/.github/workflows/flatpak-build.yml +++ b/.github/workflows/flatpak-build.yml @@ -126,12 +126,12 @@ jobs: export CCACHE_DIR=/ccache && \ export CCACHE_BASEDIR=/usr/src/tdesktop && \ export CCACHE_COMPRESS=1 && \ + export CC='ccache gcc' && \ + export CXX='ccache g++' && \ /usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \ -D TDESKTOP_API_ID=${TDESKTOP_API_ID} \ -D TDESKTOP_API_HASH=${TDESKTOP_API_HASH} \ - -D USE_CCACHE=ON \ - -D CMAKE_C_COMPILER_LAUNCHER=ccache \ - -D CMAKE_CXX_COMPILER_LAUNCHER=ccache && \ + -D USE_CCACHE=ON && \ ccache -s" - name: Prepare Flatpak build directory