Skip to content

Commit

Permalink
🛟 Configure cache to have different save and restore points
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Jan 4, 2024
1 parent 0e2bc1e commit ac32450
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: choco install mingw

- name: Restore Hugo builder cache
uses: actions/cache@v3.3.2
uses: actions/cache/restore@v3
with:
path: ./hugo_cache/
key: ${{ runner.os }}-${{ matrix.go-version }}-hugo-build-cache-${{ hashFiles('**/setup.py', '**/pyproject.toml') }}
Expand All @@ -63,5 +63,11 @@ jobs:
run: |
python -m build --wheel . --outdir dist/
- name: Save Hugo builder cache
uses: actions/cache/save@v3
with:
path: ./hugo_cache/
key: ${{ runner.os }}-${{ matrix.go-version }}-hugo-build-cache-${{ hashFiles('**/setup.py', '**/pyproject.toml') }}

- name: Test entry points for package
run: nox -s venv

0 comments on commit ac32450

Please sign in to comment.