Skip to content

Commit 53b66aa

Browse files
committed
update GitHub Actions workflow to use latest action versions for caching and deployment
1 parent 07880e9 commit 53b66aa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: dtolnay/rust-toolchain@stable
2626

2727
- name: Cache dependencies
28-
uses: actions/cache@v3
28+
uses: actions/cache@v4
2929
with:
3030
path: |
3131
~/.cargo/registry
@@ -38,15 +38,15 @@ jobs:
3838

3939
- name: Setup Pages
4040
if: github.ref == 'refs/heads/main'
41-
uses: actions/configure-pages@v3
41+
uses: actions/configure-pages@v4
4242

4343
- name: Upload artifact
4444
if: github.ref == 'refs/heads/main'
45-
uses: actions/upload-pages-artifact@v2
45+
uses: actions/upload-pages-artifact@v3
4646
with:
4747
path: ./target/doc
4848

4949
- name: Deploy to GitHub Pages
5050
if: github.ref == 'refs/heads/main'
5151
id: deployment
52-
uses: actions/deploy-pages@v2
52+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)