Skip to content

Commit 28693ea

Browse files
authored
Merge pull request #147 from mitmath/update-GHA
2 parents cc7af2c + 8be36c8 commit 28693ea

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

.github/workflows/ExportNotebooks.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,31 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout Fall 24 source
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717

1818
- name: 🙌 Install Julia
19-
uses: julia-actions/setup-julia@v1
19+
uses: julia-actions/setup-julia@v2
2020
with:
2121
version: "1.10.4"
2222

2323
- name: ⏱ Cache notebook states
24-
uses: actions/cache@v2
24+
uses: actions/cache@v4
2525
with:
2626
path: _cache
2727
key: ${{ runner.os }}-pluto_state_cache-v3-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}-${{ github.run_id }}
2828
restore-keys: |
2929
${{ runner.os }}-pluto_state_cache-v3-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
3030
3131
- name: ⏱ Cache .julia
32-
uses: actions/cache@v2
32+
uses: actions/cache@v4
3333
with:
3434
path: ~/.julia
3535
key: ${{ runner.os }}-dotjulia-v1-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}-${{ github.run_id }}
3636
restore-keys: |
3737
${{ runner.os }}-dotjulia-v1-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
3838
3939
- name: 📅 Checkout Fall20, Spring21, Fall22, Fall23 output
40-
uses: actions/checkout@v2
40+
uses: actions/checkout@v4
4141
with:
4242
path: Fall23-output
4343
ref: Fall23-output
@@ -51,7 +51,7 @@ jobs:
5151

5252

5353
- name: 📰 Upload site generation report
54-
uses: actions/upload-artifact@v2
54+
uses: actions/upload-artifact@v4
5555
if: always()
5656
with:
5757
path: generation_report.html
@@ -67,8 +67,8 @@ jobs:
6767
mv extra_outputs/* www
6868
6969
- name: 🚀 Deploy to GitHub Pages
70-
uses: JamesIves/github-pages-deploy-action@releases/v3
70+
uses: JamesIves/github-pages-deploy-action@v4
7171
with:
72-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73-
BRANCH: Fall24-output
74-
FOLDER: www
72+
token: ${{ secrets.GITHUB_TOKEN }}
73+
branch: Fall24-output
74+
folder: www

.github/workflows/KeepCacheFresh.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,27 @@ name: Keep caches fresh
22
on:
33
schedule:
44
- cron: "5 4 1/4 * *" # every 4 days
5+
concurrency:
6+
group: export
7+
cancel-in-progress: false
58

69
jobs:
710
build-and-deploy:
811
runs-on: ubuntu-latest
912
steps:
13+
- name: Checkout Fall 24 source
14+
uses: actions/checkout@v4
15+
1016
- name: ⏱ Cache notebook states
11-
uses: actions/cache@v2
17+
uses: actions/cache@v4
1218
with:
1319
path: _cache
1420
key: ${{ runner.os }}-pluto_state_cache-v3-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}-${{ github.run_id }}
1521
restore-keys: |
1622
${{ runner.os }}-pluto_state_cache-v3-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
1723
1824
- name: ⏱ Cache .julia
19-
uses: actions/cache@v2
25+
uses: actions/cache@v4
2026
with:
2127
path: ~/.julia
2228
key: ${{ runner.os }}-dotjulia-v1-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}-${{ github.run_id }}

0 commit comments

Comments
 (0)