From f4176fd6acdc921eda0894d9d583063f1f46afe1 Mon Sep 17 00:00:00 2001 From: Anmol Verma Date: Sun, 11 Aug 2024 12:17:15 +0530 Subject: [PATCH] Tauri build changes --- .github/workflows/ tauri-build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ tauri-build.yml b/.github/workflows/ tauri-build.yml index b7d901664..1387e14a8 100644 --- a/.github/workflows/ tauri-build.yml +++ b/.github/workflows/ tauri-build.yml @@ -32,10 +32,11 @@ jobs: steps: - name: Check for GITHUB_TOKEN run: | - if (-z $ENV:${{secrets.GITHUB_TOKEN}}); then - echo "You must provide a GITHUB_TOKEN secret for this repository." - exit 1 - fi + if (-not $env:${{secrets.GITHUB_TOKEN}}) + { + Write-Host "You must provide a GITHUB_TOKEN secret for this repository." + exit 1 + } - name: Checkout repository uses: actions/checkout@v4