From 67e29d10947e02f7da9a8cf02298e24d8efed269 Mon Sep 17 00:00:00 2001 From: dagou Date: Tue, 2 Jul 2024 17:18:26 +0800 Subject: [PATCH] bug fix --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7a8c828..f650c61 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -100,7 +100,7 @@ jobs: if: matrix.platform == 'ubuntu-20.04' run: | docker run --name centos7-container -v $GITHUB_WORKSPACE:/github/workspace -w /github/workspace centos:7 \ - /bin/bash -c "yum update -y && yum install -y gcc make openssl openssl-devel && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && export PATH=\$HOME/.cargo/bin:\$PATH && cd /github/workspace && cargo build --release" + /bin/bash -c "echo 'baseurl=http://mirror.centos.org/centos/7/os/x86_64/' > /etc/yum.repos.d/CentOS-Base.repo; yum update -y && yum install -y gcc make openssl openssl-devel && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && export PATH=\$HOME/.cargo/bin:\$PATH && cd /github/workspace && cargo build --release" mkdir -p ./target/release/packaged_centos7 for binary in $BINARIES_LIST; do