From bd395df66f2c17195c4ab5fba6b937912130df6b Mon Sep 17 00:00:00 2001 From: toast Date: Tue, 26 Mar 2024 12:46:19 +1100 Subject: [PATCH] Bruv. --- .gitea/workflows/build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 8e4a81a..14c6ef6 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -12,9 +12,7 @@ jobs: - name: "Add Cargo registry" run: | mkdir -p ~/.cargo && \ - echo '[registries.gitea]' \ - 'index = "sparse+https://git.toast-server.net/api/packages/toast/cargo/"' \ - 'token = "Bearer ${{ secrets.CARGO_TOKEN }}"' >> ~/.cargo/config.toml + printf '[registries.gitea]\nindex = "sparse+https://git.toast-server.net/api/packages/toast/cargo/"\ntoken = "Bearer %s"\n' "${{ secrets.CARGO_TOKEN }}" >> ~/.cargo/config.toml cat ~/.cargo/config.toml - name: Set up Docker environment