Skip to content

Commit

Permalink
meta: Simplify CI caching.
Browse files Browse the repository at this point in the history
  • Loading branch information
luleyleo committed Sep 9, 2024
1 parent 852a13b commit eb3e711
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,12 @@ jobs:
uses: actions/cache/restore@v3
with:
path: ~/.local/share/flatpak
key: ${{ runner.os }}-flatpak-dependencies-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-flatpak-dependencies-
key: ${{ runner.os }}-flatpak-dependencies
- name: Restore .flatpak-builder
uses: actions/cache/restore@v3
with:
path: .flatpak-builder
key: ${{ runner.os }}-flatpak-builder-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-flatpak-builder-
key: ${{ runner.os }}-flatpak-builder

- run: just ci
- run: rm -rf .flatpak-builder/build
Expand All @@ -43,10 +39,10 @@ jobs:
if: always()
with:
path: ~/.local/share/flatpak
key: ${{ runner.os }}-flatpak-dependencies-${{ github.run_id }}
key: ${{ runner.os }}-flatpak-dependencies
- name: Save .flatpak-builder
uses: actions/cache/save@v3
if: always()
with:
path: .flatpak-builder
key: ${{ runner.os }}-flatpak-builder-${{ github.run_id }}
key: ${{ runner.os }}-flatpak-builder

0 comments on commit eb3e711

Please sign in to comment.