Fix random define tdesktop cache being used for no define

This commit is contained in:
Ilya Fedin
2026-06-17 04:11:48 +04:00
committed by John Preston
parent afe2d0b327
commit 641a43da65
+2 -2
View File
@@ -119,8 +119,8 @@ jobs:
uses: actions/cache@v5
with:
path: ${{ runner.temp }}/.tdesktop-cache
key: ${{ runner.OS }}-tdesktop${{ case(!!matrix.defines, format('-{0}', matrix.defines), '') }}-${{ github.run_id }}
restore-keys: ${{ runner.OS }}-tdesktop${{ case(!!matrix.defines, format('-{0}', matrix.defines), '') }}-
key: ${{ runner.OS }}-tdesktop-${{ matrix.defines || 'null' }}-${{ github.run_id }}
restore-keys: ${{ runner.OS }}-tdesktop-${{ matrix.defines || 'null' }}-
- name: Telegram Desktop build.
if: env.ONLY_CACHE == 'false'