Fix indentation in the README

This commit is contained in:
Kuba Ober 2021-08-20 23:47:27 -04:00 committed by GitHub
parent 11575b28b8
commit 6b4a45eb12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ To support picking the right key in this use case, this action scans _key commen
The submodules are supported, but not directly in the `checkout` action. They have to be cloned *after* the `ssh-agent` step. For example:
```
```yaml
- uses: webfactory/ssh-agent@v0.5.3
with:
ssh-private-key: |
@ -139,19 +139,19 @@ There are 2 ways you can achieve this:
1. Add this step once in your job **before** any cargo command:
```
```
- name: Update cargo config to use Git CLI
run: Set-Content -Path $env:USERPROFILE\.cargo\config.toml "[net]`ngit-fetch-with-cli = true"
```
```
This will configure Cargo to use the Git CLI as explained in the [Cargo's documentation](https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli).
This will configure Cargo to use the Git CLI as explained in the [Cargo's documentation](https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli).
2. Alternatively you can set it to the environment variables for the entire workflow:
```
env:
```
env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
```
```
### Using Deploy Keys with Swift Package Manager