[openwrt/openwrt] CI: Simplify if conditions
LEDE Commits
lede-commits at lists.infradead.org
Sun Dec 4 07:37:39 PST 2022
ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/43980bfbf08365b2c92a51d1d82b2489106a8e12
commit 43980bfbf08365b2c92a51d1d82b2489106a8e12
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Nov 5 14:38:35 2022 +0100
CI: Simplify if conditions
There is no need to put a ${{ }} around the if conditions.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
(cherry picked from commit ce343653c2618e1d335662b924c382c0192b7b46)
---
.github/workflows/kernel.yml | 2 +-
.github/workflows/packages.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml
index 773e843bfd..a204be3395 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 49d795c122..05f089e66e 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: |
More information about the lede-commits
mailing list