Skip to content

Commit

Permalink
ci: cache pkgx directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Feb 21, 2024
1 parent 1774c32 commit 84cba0c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@ jobs:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Cache Pkgx directory (Linux)
if: runner.os == 'Linux'
uses: actions/cache@v2
with:
path: /home/runner/.pkgx
key: ${{ runner.os }}-dotfiles-pkgx
restore-keys: |
${{ runner.os }}-dotfiles-pkgx-
- name: Cache Pkgx directory (macOS)
if: runner.os == 'macOS'
uses: actions/cache@v2
with:
path: /Users/runner/.pkgx
key: ${{ runner.os }}-dotfiles-pkgx
restore-keys: |
${{ runner.os }}-dotfiles-pkgx-
- name: Cache Homebrew directory (Linux)
if: runner.os == 'Linux'
uses: actions/cache@v2
Expand Down

0 comments on commit 84cba0c

Please sign in to comment.