From f42b635f7dd6577b3293a2892a6dc764e1437b86 Mon Sep 17 00:00:00 2001 From: Yoshihiro OKUMURA Date: Fri, 17 Apr 2026 21:04:41 +0900 Subject: [PATCH] ci: replace actions/checkout with git clone actions/checkout@v4 requires Node.js, which is not present in the Rust container images. Use git clone directly instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .gitea/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index c7e0e51..d8b6ec0 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -10,7 +10,8 @@ jobs: runs-on: ubuntu-latest container: rust:latest steps: - - uses: actions/checkout@v4 + - name: Checkout + run: git clone --depth 1 --branch "$GITHUB_REF_NAME" "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" . - name: Add musl target run: rustup target add x86_64-unknown-linux-musl - name: Install musl tools @@ -34,7 +35,8 @@ jobs: runs-on: ubuntu-latest container: messense/rust-musl-cross:aarch64-musl steps: - - uses: actions/checkout@v4 + - name: Checkout + run: git clone --depth 1 --branch "$GITHUB_REF_NAME" "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" . - name: Build run: cargo build --release --target aarch64-unknown-linux-musl - name: Create archive