mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-20 08:03:45 +08:00
Fix Linux action tdesktop cache update
This commit is contained in:
14
.github/workflows/linux.yml
vendored
14
.github/workflows/linux.yml
vendored
@@ -114,11 +114,13 @@ jobs:
|
||||
rm -rf ${{ runner.temp }}/.buildx-cache
|
||||
mv ${{ runner.temp }}/.buildx-cache{-new,}
|
||||
|
||||
- name: Restore Telegram Desktop cache.
|
||||
uses: actions/cache/restore@v5
|
||||
- name: Telegram Desktop cache.
|
||||
if: env.ONLY_CACHE == 'false'
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
path: ${{ runner.temp }}/.tdesktop-cache
|
||||
key: ${{ runner.OS }}-tdesktop${{ case(!!matrix.defines, format('-{0}', matrix.defines), '') }}
|
||||
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), '') }}-
|
||||
|
||||
- name: Telegram Desktop build.
|
||||
if: env.ONLY_CACHE == 'false'
|
||||
@@ -151,12 +153,6 @@ jobs:
|
||||
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \
|
||||
$DEFINE
|
||||
|
||||
- name: Save Telegram Desktop cache.
|
||||
uses: actions/cache/save@v5
|
||||
with:
|
||||
path: ${{ runner.temp }}/.tdesktop-cache
|
||||
key: ${{ runner.OS }}-tdesktop${{ case(!!matrix.defines, format('-{0}', matrix.defines), '') }}
|
||||
|
||||
- name: Check.
|
||||
if: env.ONLY_CACHE == 'false'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user