mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-29 15:44:04 +00:00
CI: Simplify if conditions
There is no need to put a ${{ }} around the if conditions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
5429411f73
commit
ce343653c2
2
.github/workflows/kernel.yml
vendored
2
.github/workflows/kernel.yml
vendored
@ -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: |
|
||||
|
2
.github/workflows/packages.yml
vendored
2
.github/workflows/packages.yml
vendored
@ -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: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user