Skip to content

Commit 6390d8f

Browse files
committed
ci: fix private repo token.
1 parent 4829215 commit 6390d8f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,17 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030

31+
- name: Configure git for private repos
32+
run: git config --global url."https://${{ secrets.CARGO_GIT_TOKEN }}@github.com/".insteadOf "https://github.com/"
33+
3134
- name: Install Rust
3235
uses: dtolnay/rust-toolchain@stable
3336
with:
3437
targets: ${{ matrix.target }}
3538

39+
- name: Cache cargo
40+
uses: Swatinem/rust-cache@v2
41+
3642
- name: Install cross-compilation tools
3743
if: matrix.target == 'aarch64-unknown-linux-gnu'
3844
run: |

0 commit comments

Comments
 (0)