Skip to content

Commit 953aaf3

Browse files
committed
Update GitHub Actions workflows to use latest action versions for caching, artifact handling, and deployment
1 parent 8e9ed36 commit 953aaf3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
# Cache Rust toolchain and cargo registry
2323
- name: Cache Rust
24-
uses: actions/cache@v4
24+
uses: actions/cache@v5
2525
with:
2626
path: |
2727
~/.cargo/bin/
@@ -46,7 +46,7 @@ jobs:
4646
run: mdbook build ./better-code
4747

4848
- name: Upload build artifact
49-
uses: actions/upload-artifact@v4
49+
uses: actions/upload-artifact@v7
5050
with:
5151
name: mdbook-build-ubuntu-latest
5252
path: ./better-code/book

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ jobs:
3333
id-token: write
3434
steps:
3535
- name: Download build artifact
36-
uses: actions/download-artifact@v4
36+
uses: actions/download-artifact@v8
3737
with:
3838
name: mdbook-build-ubuntu-latest
3939
path: ./book
4040

4141
- name: Setup Pages
4242
id: pages
43-
uses: actions/configure-pages@v5
43+
uses: actions/configure-pages@v6
4444

4545
- name: Upload Pages artifact
46-
uses: actions/upload-pages-artifact@v4
46+
uses: actions/upload-pages-artifact@v5
4747
with:
4848
path: ./book
4949

5050
- name: Deploy to GitHub Pages
5151
id: deployment
52-
uses: actions/deploy-pages@v4
52+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)