diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 92e59b799b..5c967a3ed4 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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'