From 2d242e7bb7c2c73152d650961d02049d2472a2b9 Mon Sep 17 00:00:00 2001 From: chenwj Date: Tue, 3 Sep 2024 09:53:04 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E4=BF=AE=E6=94=B9action=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4de8c9a..fcb1c93 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -11,7 +11,9 @@ jobs: - uses: https://git.airpig.cn/actions/setup-rust-toolchain@v1 with: cache: false - - run: cargo build -r --target x86_64-unknown-linux-musl + - run: | + rustup target add x86_64-unknown-linux-musl + cargo build -r --target x86_64-unknown-linux-musl build-docker-image: name: Build Docker image