From: Hauke Mehrtens Date: Sat, 5 Nov 2022 13:38:35 +0000 (+0100) Subject: CI: Simplify if conditions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce343653c2618e1d335662b924c382c0192b7b46;p=openwrt%2Fstaging%2Frmilecki.git CI: Simplify if conditions There is no need to put a ${{ }} around the if conditions. Signed-off-by: Hauke Mehrtens --- diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 773e843bfda..a204be33958 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -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: | diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 49d795c122a..05f089e66ec 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -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: |