Skip to content

Commit 05c0604

Browse files
committed
WIP: update deploy.yml workflow according to review
1 parent b6e6429 commit 05c0604

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,14 @@ jobs:
4242
- name: Use deploy script from master branch
4343
run: |
4444
git fetch --no-tags --prune --depth=1 origin master
45-
git checkout origin/master -- .github/deploy.sh
45+
git checkout origin/master -- .github/deploy.sh util/versions.py util/gh-pages/versions.html
4646
47-
- name: cargo update
48-
run: cargo update
47+
# Generate lockfile for caching to avoid build problems with cached deps
48+
- name: cargo generate-lockfile
49+
run: cargo generate-lockfile
4950

5051
- name: Cache
51-
uses: Swatinem/rust-cache@v1
52+
uses: Swatinem/rust-cache@v1.3.0
5253

5354
- name: cargo collect-metadata
5455
run: cargo collect-metadata

0 commit comments

Comments
 (0)