Skip to content

Commit

Permalink
ci: remove binary cache and add fonts cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sewera committed Nov 10, 2023
1 parent 85b1efb commit 218637e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
- name: "Test"
run: "make test"

- name: "Cache binary"
id: "bin-cache"
- name: "Cache fonts"
id: "fonts-cache"
uses: "actions/cache@v3"
with:
path: "renderblog"
key: "${{ runner.os }}-bin-${{ hashFiles('**/*.go') }}"
path: "_site/font"
key: "${{ runner.os }}-fonts-${{ hashFiles('_site/font/font.list') }}"
restore-keys: |
${{ runner.os }}-bin-
${{ runner.os }}-fonts-
- name: "Build binary"
if: "steps.bin-cache.outputs.cache-hit != 'true'"
Expand Down

0 comments on commit 218637e

Please sign in to comment.