From e7287f3d020f0d4e31c1edefc7fcc8cffd261e8d Mon Sep 17 00:00:00 2001 From: Patrick Schneider Date: Sat, 14 Jan 2023 18:02:47 +0100 Subject: [PATCH] fix type error --- .github/workflows/app_sdk_check.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/app_sdk_check.yml b/.github/workflows/app_sdk_check.yml index f795d89..8ef6f83 100644 --- a/.github/workflows/app_sdk_check.yml +++ b/.github/workflows/app_sdk_check.yml @@ -38,5 +38,7 @@ jobs: - sdk_version steps: - name: "Newer target sdk than ${{inputs.minTargetSdkVersion}}" - if: ${{ needs.sdk_version.outputs.targetSdkVersion }} < ${{ inputs.minTargetSdkVersion }} - run: exit 1 \ No newline at end of file + run: | + if [[ "${{ needs.sdk_version.outputs.targetSdkVersion }}" -lt "${{ inputs.minTargetSdkVersion }}" ]]; then + exit 1 + fi \ No newline at end of file