CI: Simplify if conditions
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 5 Nov 2022 13:38:35 +0000 (14:38 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 3 Dec 2022 01:57:30 +0000 (02:57 +0100)
There is no need to put a ${{ }} around the if conditions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
.github/workflows/kernel.yml
.github/workflows/packages.yml

index 773e843bfda192762b3f0bfaa00d1405aae199a5..a204be339586cff0739ec9a8c045e125de8fc1b8 100644 (file)
@@ -156,7 +156,7 @@ jobs:
             ccache-kernel-${{ env.TARGET }}/${{ env.SUBTARGET }}-
 
       - name: Download external toolchain
-        if: ${{ steps.cache-external-toolchain.outputs.cache-hit != 'true' }}
+        if: steps.cache-external-toolchain.outputs.cache-hit != 'true'
         shell: su buildbot -c "sh -e {0}"
         working-directory: openwrt
         run: |
index 49d795c122a6a18b5ba4be1b70597e35f2bb49ab..05f089e66ec1e159fef62c7a340aa4bb425cb2cd 100644 (file)
@@ -93,7 +93,7 @@ jobs:
           key: ${{ env.TOOLCHAIN_FILE }}-${{ env.TOOLCHAIN_SHA256 }}
 
       - name: Download external toolchain
-        if: ${{ steps.cache-external-toolchain.outputs.cache-hit != 'true' }}
+        if: steps.cache-external-toolchain.outputs.cache-hit != 'true'
         shell: su buildbot -c "sh -e {0}"
         working-directory: openwrt
         run: |