From a4edb1d760a9e2c6c51e3e0e706ada3a8df1d541 Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Thu, 1 Jun 2023 10:21:32 +0600 Subject: [PATCH] cd: fix if expression --- .github/workflows/spotube-release-binary.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/spotube-release-binary.yml b/.github/workflows/spotube-release-binary.yml index 75704c3e..1ad9632a 100644 --- a/.github/workflows/spotube-release-binary.yml +++ b/.github/workflows/spotube-release-binary.yml @@ -88,7 +88,7 @@ jobs: mv dist/spotube.*.nupkg dist/Spotube-windows-x86_64.nupkg - name: Debug With SSH When fails - if: ${{ failure() && inputs.debug == 'true' && inputs.channel == 'nightly' }} + if: ${{ failure() && inputs.debug && inputs.channel == 'nightly' }} uses: mxschmitt/action-tmate@v3 with: limit-access-to-actor: true @@ -178,7 +178,7 @@ jobs: mv dist/**/spotube-*-linux.AppImage dist/Spotube-linux-x86_64.AppImage - name: Debug With SSH When fails - if: ${{ failure() && inputs.debug == 'true' && inputs.channel == 'nightly' }} + if: ${{ failure() && inputs.debug && inputs.channel == 'nightly' }} uses: mxschmitt/action-tmate@v3 with: limit-access-to-actor: true @@ -239,7 +239,7 @@ jobs: mv build/app/outputs/apk/release/app-release.apk build/Spotube-android-all-arch.apk - name: Debug With SSH When fails - if: ${{ failure() && inputs.debug == 'true' && inputs.channel == 'nightly' }} + if: ${{ failure() && inputs.debug && inputs.channel == 'nightly' }} uses: mxschmitt/action-tmate@v3 with: limit-access-to-actor: true @@ -298,7 +298,7 @@ jobs: appdmg appdmg.json build/Spotube-macos-x86_64.dmg - name: Debug With SSH When fails - if: ${{ failure() && inputs.debug == 'true' && inputs.channel == 'nightly' }} + if: ${{ failure() && inputs.debug && inputs.channel == 'nightly' }} uses: mxschmitt/action-tmate@v3 with: limit-access-to-actor: true