Skip to content

Commit 949ff7e

Browse files
committed
ci: Don't rebuild cargo-rdme if present
Avoids an error by cargo-install leading to failed builds
1 parent f03a320 commit 949ff7e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,12 @@ jobs:
163163
~/.cargo/bin/cargo-rdme
164164
key: ${{ runner.os }}-binary-cargo-rdme
165165
- name: Install cargo-rdme
166+
shell: bash
167+
# NOTE: This doesn't worry about installing updates
166168
run: |
167-
cargo install cargo-rdme
169+
if not test -f "~/.cargo/bin/cargo-rdme"; then
170+
cargo install cargo-rdme
171+
fi
168172
- name: Run cargo-rdme
169173
run: |
170-
cargo install cargo-rdme
171174
cargo rdme --check

0 commit comments

Comments
 (0)