From cb137cfdfb8309eb2ccc4804332e8878695a2d0d Mon Sep 17 00:00:00 2001 From: xfy Date: Fri, 12 Jun 2026 17:04:17 +0800 Subject: [PATCH] ci: use printf instead of heredoc for cargo config --- .gitea/workflows/ci.yaml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 18cc004..109af31 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -25,13 +25,7 @@ jobs: - name: Configure Cargo mirror run: | mkdir -p "$HOME/.cargo" - cat > "$HOME/.cargo/config.toml" < "$HOME/.cargo/config.toml" - name: Install Node.js run: | @@ -77,13 +71,7 @@ jobs: - name: Configure Cargo mirror run: | mkdir -p "$HOME/.cargo" - cat > "$HOME/.cargo/config.toml" < "$HOME/.cargo/config.toml" - name: Install Node.js run: |