We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55f7a5d commit 35bc294Copy full SHA for 35bc294
1 file changed
.github/workflows/build-release.yml
@@ -42,6 +42,17 @@ jobs:
42
43
- uses: dtolnay/rust-toolchain@stable
44
45
+ - name: Use crates.io in CI
46
+ run: |
47
+ mkdir -p .cargo
48
+ cat > .cargo/config.toml <<'EOF'
49
+ [registries.crates-io]
50
+ protocol = "sparse"
51
+
52
+ [net]
53
+ git-fetch-with-cli = true
54
+ EOF
55
56
- name: Install Linux dependencies
57
if: runner.os == 'Linux'
58
run: |
@@ -61,7 +72,7 @@ jobs:
61
72
run: cargo install cargo-packager --locked
62
73
63
74
- name: Build binary
64
- run: cargo build --release --bin linuxdo-accelerator
75
+ run: cargo build --release --locked --bin linuxdo-accelerator
65
76
66
77
- name: Package app
67
78
run: ${{ matrix.package_cmd }}
0 commit comments