From 00c54b036aa60c5c8719f8396974275ae680a06c Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu <23022326+d0cd@users.noreply.github.com> Date: Tue, 3 Dec 2024 12:21:02 -0800 Subject: [PATCH] Fix CI --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87d2c09f00..d50739d62f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -285,10 +285,10 @@ jobs: - name: Verify Cargo.lock Exists run: | - if [ ! -f Cargo.lock ]; then - echo "Error: Cargo.lock file is missing. Aborting build." + if (!(Test-Path "Cargo.lock")) { + Write-Host "Error: Cargo.lock file is missing. Aborting build." exit 1 - fi + } - name: Build Leo run: |