Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
chore(workflow): add cache and restore
Browse files Browse the repository at this point in the history
  • Loading branch information
maxchang3 committed Jul 13, 2023
1 parent 838e7c0 commit 4e52626
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
cache: 'pip'
python-version: ${{ matrix.python-version }}

- name: Cache chaizi-jt.txt file
- name: Restore chaizi-jt.txt
id: cache-primes
uses: actions/cache@v3
with:
Expand All @@ -49,3 +49,11 @@ jobs:
files: |
./build/chaizi.dict.yaml
./build/chaizi.schema.yaml
- name: Save chaizi-jt.txt
id: cache-primes-save
uses: actions/cache/save@v3
with:
path: |
./chaizi-jt.txt
key: ${{ runner.os }}-chaizi-jt-${{ hashFiles('./chaizi-jt.txt') }}

0 comments on commit 4e52626

Please sign in to comment.