This commit is contained in:
parent
01041ff3d8
commit
bd395df66f
@ -12,9 +12,7 @@ jobs:
|
|||||||
- name: "Add Cargo registry"
|
- name: "Add Cargo registry"
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.cargo && \
|
mkdir -p ~/.cargo && \
|
||||||
echo '[registries.gitea]' \
|
printf '[registries.gitea]\nindex = "sparse+https://git.toast-server.net/api/packages/toast/cargo/"\ntoken = "Bearer %s"\n' "${{ secrets.CARGO_TOKEN }}" >> ~/.cargo/config.toml
|
||||||
'index = "sparse+https://git.toast-server.net/api/packages/toast/cargo/"' \
|
|
||||||
'token = "Bearer ${{ secrets.CARGO_TOKEN }}"' >> ~/.cargo/config.toml
|
|
||||||
cat ~/.cargo/config.toml
|
cat ~/.cargo/config.toml
|
||||||
|
|
||||||
- name: Set up Docker environment
|
- name: Set up Docker environment
|
||||||
|
Loading…
Reference in New Issue
Block a user