Skip to content

Commit

Permalink
fix cache environments
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchobben committed Jan 9, 2025
1 parent 484ea64 commit 7881708
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches:
- main
- dev
workflow_dispatch:

jobs:
Expand All @@ -22,8 +21,8 @@ jobs:
./notebooks/courses/microwave-remote-sensing/.jupyter_cache
./notebooks/templates/.jupyter_cache
./notebooks/tutorials/.jupyter_cache
key: ${{ runner.os }}-env-${{ hashFiles('./environment.yml', './notebooks/**/*.yml') }}
restore-keys: ${{ runner.os }}-env-
key: ${{ runner.os }}-env-${{ hashFiles('./environment.yml', './notebooks/**/*.yml') }}
restore-keys: ${{ runner.os }}-env-

- name: Build Book
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
Expand Down

0 comments on commit 7881708

Please sign in to comment.