Skip to content

Commit b52fa38

Browse files
authored
MAINT: enable windows cache (#141)
* MAINT: update quantecon software environment * Enable testing of environment-cn.yml * Enable build on Windows * enable cach to run weekly * MAINT: cache on windows builds
1 parent 8c5ef29 commit b52fa38

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/cache.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Build Cache [using jupyter-book]
22
on:
3-
push:
4-
branches:
5-
- main
3+
schedule:
4+
# Execute cache weekly at 3am on Monday
5+
- cron: '0 3 * * 1'
66
jobs:
77
tests:
88
runs-on: ubuntu-latest

.github/workflows/ci-windows.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ jobs:
1515
python-version: "3.12"
1616
environment-file: environment.yml
1717
activate-environment: quantecon
18+
- name: Download "build" folder (cache)
19+
uses: dawidd6/action-download-artifact@v7
20+
with:
21+
workflow: cache-windows.yml
22+
branch: main
23+
name: build-cache-windows
24+
path: _build
1825
- name: Display Conda Environment Versions
1926
shell: bash -l {0}
2027
run: conda list

0 commit comments

Comments
 (0)