Skip to content

Commit 5aa80ea

Browse files
committed
ci(cron): fix cargo install
1 parent 2bd72e6 commit 5aa80ea

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/cron.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ jobs:
2626
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
2727

2828
- name: Install cargo-release
29-
run: cargo install cargo-release
29+
run: |
30+
if ! command -v cargo-release &> /dev/null; then
31+
cargo install cargo-release
32+
fi
3033
3134
- name: Build
3235
env:

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ua_generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ua_generator"
3-
version = "0.5.20"
3+
version = "0.5.21"
44
edition = "2021"
55
authors = ["j-mendez <jeff@spider.cloud>"]
66
description = "Random User Agent Spoofer in Rust."

0 commit comments

Comments
 (0)