From 33af8f872501adbe4ade53b5d3ebcdbd8748a10e Mon Sep 17 00:00:00 2001 From: Krzysztof Knapik Date: Fri, 11 Feb 2022 01:16:39 +0100 Subject: [PATCH] Workaround for cache exclude pattern bug https://github.com/actions/toolkit/issues/713 --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 458bc2d..ec47462 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,14 +14,14 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - - name: Cache data + - name: Cache uses: actions/cache@v2 with: path: | - flatpak-builder/ - !flatpak-builder/rofiles/ - key: ${{ runner.os }}-cache-${{ hashFiles('tv.plex.PlexMediaPlayer.json', 'modules/**/*.json', 'modules/**/*.yml') }} - restore-keys: ${{ runner.os }}-cache- + flatpak-builder/* + !flatpak-builder/rofiles + key: flatpak-builder-${{ hashFiles('tv.plex.PlexMediaPlayer.json', 'modules/io.mpv.Mpv.yml') }} + restore-keys: flatpak-builder- - name: Run build script run: ./scripts/build.sh publish: