From 2d5c7fc178f42241c9e078e799573a23f99e1d1b Mon Sep 17 00:00:00 2001 From: Lowder Date: Fri, 12 Dec 2025 05:45:20 +0500 Subject: [PATCH] ci: fix arm64 bin arg and windows find --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0928cce..c45f355 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,7 +58,7 @@ jobs: args: "--release --bin cheburchecker" - name: Create Debian archive - run: cargo deb --target aarch64-unknown-linux-gnu --no-build --bin cheburchecker + run: cargo deb --target aarch64-unknown-linux-gnu --no-build -- --bin cheburchecker - name: Find deb file id: find_deb_arm64 @@ -87,8 +87,8 @@ jobs: - name: Find exe id: find_exe run: | - FILE=$(ls target/release/*.exe | head -n 1) - echo "file=$FILE" >> "$GITHUB_OUTPUT" + $file = Get-ChildItem -Path "target/release" -Filter *.exe | Select-Object -First 1 + echo "file=$($file.FullName)" >> $env:GITHUB_OUTPUT - name: Upload artifact uses: actions/upload-artifact@v4