ci: fix arm64 bin arg and windows find

This commit is contained in:
Lowder
2025-12-12 05:48:34 +05:00
parent e9e370d22c
commit 2d5c7fc178
+3 -3
View File
@@ -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