From acab359e5377b7889508171771c401c0f1aa48b6 Mon Sep 17 00:00:00 2001 From: TheWhiteDog9487 Date: Sun, 24 May 2026 14:38:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DAction=E4=B8=8D=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E9=9D=99=E6=80=81=E9=93=BE=E6=8E=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a94e6b3..e3d4148 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: 更新二进制可执行文件 +name: 构建二进制可执行文件 on: workflow_dispatch: @@ -23,15 +23,15 @@ jobs: - name: 下载 musl 工具链 uses: lmq8267/dl-musl@main with: - TARGET: ${{ matrix.target }} - STATIC: true + target: ${{ matrix.target }} + static: true - name: 编译 run: | if [ "${{ matrix.target }}" = "x86_64-linux-musl" ]; then - "$CXX" -o "${{ matrix.artifact }}" -std=c++23 -s language.cpp + "$CXX" -o "${{ matrix.artifact }}" -std=c++23 -s --static language.cpp else - "$CXX" -o "${{ matrix.artifact }}" -std=c++23 -s language.cpp + "$CXX" -o "${{ matrix.artifact }}" -std=c++23 -s --static language.cpp fi - uses: actions/upload-artifact@v5